Search in blog
Categories
Related products
Search block with suggestions new version 2.4.0
Major upgrade of the search with suggestions module where we have applied big changes in the generation of suggestions and in the module configuration.
Recent changes:
--- PrestaShop 1.7.x ---
VERSION 2.4.0 (28/03/2019) - major upgrade
- * ADD: suggestions in tpl
- * ADD: now the crossed-out price and the offer price appear in the search suggestions
- * ADD: icons in module configuration
- * ADD: now it is possible add custom css
- * ADD: related modules in configuration
---
The HTML content of the suggestions that the Ajax call returns when writing text in the search field is now available in a tpl file.
In this way, suggestions are no longer built from the PHP driver.
This means that it will be much easier to customize or adapt this module to your active theme without having problems in future updates losing the modifications.
Now, if the product has an offer or a discounted price, the original crossed-out price and the offer price appear in the search suggestions to get more attention from the visitor or customer.
Representative icons have been added to the tabs that appear in the module's configuration.
In the configuration of the module we have added a new tab that allows you to add custom styles to adapt this module to your active theme. A text box appears where you can add CSS code.
Also in the configuration of the module we have added a new tab that allows to see related modules.
It is important to know that these changes only apply to the most recent version of this functional module in PrestaShop 1.7.x.