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!