Jump to content

add additional filter to category products


brucexia

Recommended Posts

I need to add some additional filters when user clicks on a category, e.g. instead of returning all the products under this category, I will return all the products under this category and has a tag "testtag". I'm currently storing this additional filter in cookie but I'm having hard time finding the right place to modify the query. I tried the Category->getProducts() but that function isn't called at all. I can see the products is retrieved after CategoryController->assignProductsList() but I just couldn't find where the actual query is being done.

 

Any advice will be appreciated.

Link to comment
Share on other sites

  • 5 months later...

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
×
×
  • Create New...