0

I need something like this diagram:

Navigate in Category A/B/C (Area1) -> on the left panel show a Search Module -> if the user search a term from that module i invoke Mage Catalogsearch module with a new parameter (eg: /catalogsearch/result/?q=term1&a=area1) and the result of the search have to be only from that categories.

If i search the term from the main search form (the top one) i see result from every category.

Is this possible? I've to extend/overwrite something? Any hint or suggestion?

I also see How to exclude specific category id in catalog search result?

1 Answer 1

1

Try adding in the form action the category id. So when you submit it it points to /catalogsearch/result/?cat=13&q=term1&a=area1 (where 13 is the id of the category)

1
  • But i need the search to be done also in subcategory of the main area.. Commented May 13, 2015 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.