Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## Unreleased
### Fix
- Fix redirection for ff-suggest

## [v5.3.0] - 2026.05.26
### Add
- Add support for Magento v2.4.9
Expand Down
10 changes: 5 additions & 5 deletions src/view/frontend/templates/ff/suggest.phtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/** @var Magento\Framework\Escaper $escaper */
?>
<ff-suggest for-searchbox="ff-searchbox" layout="block" unresolved>
<ff-suggest for-searchbox="ff-searchbox" layout="block" hide-delay="200" unresolved>
<template data-role="popularSearches">
<div class="popular-searches">
<h3><?= $escaper->escapeHtmlAttr(__('Popular Searches')) ?></h3>
Expand All @@ -13,21 +13,21 @@
<div data-container="searchTerm">
<p class="containerCaption"><?= $escaper->escapeHtml(__('Search suggestions')) ?></p>
<ff-suggest-item type="searchTerm">
<a href="#">{{{name}}}</a>
<span>{{{name}}}</span>
</ff-suggest-item>
</div>

<div data-container="category">
<p class="containerCaption"><?= $escaper->escapeHtml(__('Category suggestions')) ?></p>
<ff-suggest-item type="category">
<a href="#">{{{name}}}</a>
<span>{{{name}}}</span>
</ff-suggest-item>
</div>

<div data-container="brand">
<p class="containerCaption"><?= $escaper->escapeHtml(__('Brands')) ?></p>
<ff-suggest-item type="brand">
<a href="#">{{{name}}}</a>
<span>{{{name}}}</span>
</ff-suggest-item>
</div>
</section>
Expand All @@ -38,7 +38,7 @@
<ff-suggest-item type="productName">
<img data-image="{{suggestions.image}}" />
<div class="product-center">
<a href="#" class="product-name">{{{name}}}</a>
<a href="{{attributes.Deeplink}}" class="product-name">{{{name}}}</a>
</div>
<div class="product-right">
<div class="product-price">{{attributes.Price}}</div>
Expand Down
Loading