Hi,
Please modify the \src\Core\Product\Search\SortOrderFactory.php file. if you are using my Easy filter module, it required to modify the \modules\stfacetedsearch\src\Product\SearchProvider.php, see attached screenshot.
Best regards.
If you have the layer filter module of prestashop installed, you have to go and change as well the code in modules/ps_facetedsearch/src/Product/SearchProvider.php
Hi,
As Prestashop 1.7 added the sort by options to the php files instead of the .tpl file, it can’t manage them on the Theme editor module.
Best regards.