Search in blog
Mandatory renewal of the alphabet search module
The search for products by letter of the alphabet is renewed to adapt to the new functions that PrestaShop 1.7 has to improve your shop.
VERSION 2.0.0 (02/06/2021) - For Prestashop 1.7
* ADD: use PrestaShop Adapter for product list
* ADD: use getBreadcrumbLinks
* ADD: extends page and use blocks in templates
* ADD: ps_versions_compliancy 1.7.0 or superior
* ADD: use registerStylesheet for load css files
* ADD: row class in front
* ADD: selected letter mark
* ADD: use display flex for hook top
Version 2.0.0 seeks the adaptation that is required for this module to be displayed and work correctly in PrestaShop 1.7 or higher.
Now we are using PrestaShop's Adapter class (symfony) to create the necessary data to display the list of products that start with a letter of the alphabet.
Bread crumbs now work with the new getBreadcrumbLinks() handler function, thus avoiding having to generate these breadcrumbs from template files.
The search page templates that this module adds to your store now inherit the features and functions of the page.tpl template from the active template. We also use the blocks to overwrite the contents as needed.
This version 2.0.0 is compatible with PrestaShop 1.7.0 onwards. This information was added in the module constructor.
To add the css styles in the header of the page we now use the registerStylesheet() function to make it compatible with the activated performance parameters.
Bootstrap class 'row' added to parent container of product list in front.
The letter that the user clicks to show products that begin with that letter is now selected to visually indicate to the user that they are displaying the products that begin with that specific letter.
In the block of the alphabet letter list that appears at the top of the store we are now using the new FlexBox technology. In addition to that, the 'displayWrapperTop' hook was changed so that the block is visible at 100% of the main store container on all pages.
- - -