Jump to content

Category Page Product Filter


Nikola1337
 Share

Recommended Posts

Hey, I am new to prestashop and I am trying to create a simple product filter to be displayed on the category page.

I managed to output my filter on the page using the hook for the hookDisplayLeftColumn method, however I have a few questions.

How can I hook to the action that displays products, basically filter results.

Right now I am hooking to the leftColumn but the filter will show on any page that has it.I want to show it only on the category page.

 

Share this post


Link to post
Share on other sites

Filter is a module. And modules can be configured with exceptions where they should not be displayed. In PS 1.6.x. this is done by backoffice => modules => position.

Click the module and hook you want to changed => edit. The form show has a field called 'exceptions' (3rd field). There you can specify and page type where you don't want the module to be shown.

 

Report back.

  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More