Search products by category in Prestashop blocksearch module

If you want to search products by category using blocksearch module you need to override module and one Prestashop class.

How to do this

  1. Create file /override/classes/Search.php with content:
  2.  Create file /override/module/blocksearch/blocksearch.php with content:
  3.  Create/modify file /themes/yourThemeName/modules/blocksearch/block-search-top.tpl with content:
  4.  Remove file /cache/class_index.php.
  5.  Done 🙂

I ask you to review this article

Rating 5 Stars from 6 reviews

Leave a Reply

Your email address will not be published. Required fields are marked *

2 × 5 =