Jump to content

Faceted Search Filter by New


Recommended Posts

I'm trying to add a new filter to ps_facetedsearch so the user can filter products in the category page and see only those that are considered new products (meaning, those created in the last 30 days)

I've been googling for hours but I haven't found any useful documentation. Could you guys point me in the right direction? This is a pretty common filter for an e-commerce so I'm sure there's gotta be other people out there that had to face the same problem.

I know there's a new-products controller, but it has its limitations when filtering by subcategories, so I think it makes more sense to have a  'New Products' filter on the category page.

Thank you!

Edited by Aramask (see edit history)
Link to comment
Share on other sites

Thank you. I've managed to understand how it's done and apply it myself to my own module.

I am surprised, however, that there is no documentation for something as basic as adding a filter, and that the only alternative is to waste a day's work trying to understand how it is coded.

Thank you for pointing me in the right direction ps8

  • Like 1
Link to comment
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
×
×
  • Create New...