Jump to content

Create filter new and filter sale on categories


spk

Recommended Posts

Hey,

 

I wonder if there's a way to create two custom filters on category pages, what i want is two buttons to filter every products with the "new product" attribute on. So when you click "New products" it shows all the new products from the main category and it's child categories.

 

Same with sale, only difference is that it will sort on products on sale instead of new products.

 

Anyone who knows a way to do it?

Link to comment
Share on other sites

Hello! 
 
You can set frontend filters with the help of PrestaShop Layered Navigation Block. If you want to filter by "New products"(condition) you should assign condition to products of certain categories and subcategories and afterwards create template in the module, adding condition as filter option there. Here is step-by-step tutorial describing how to configure filters - https://www.prestashopmanager.com/useful-articles/tips-tricks/let-your-customers-make-product-search-precise-with-layered-navigation/

  • 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...