Jump to content

Excluding products via Blocklayered module


Recommended Posts

Hi Community,

I'm using Prestashop 1.6 and here is my issue:

My products are related to multiple values for feature "A": 1,2,3,4,5...until 11. Some include only 1, others 1-2, others 1-2-3 or 1-2-3-4 and so on.

- When I select value "11" in Blocklayered module menu, I want it to show every products because 11 does comes with 1,2,3,4...up to 11 values. And it actually does so that is correct, but:

- When I select for ex. value "5", I want it to exlude values 6 to 11 because 5 only comes with 1,2,3,4 and 5. Wich it does not since 5 is included in featured products w/ values up to 11.

So what I need to do is "ask" Product listing to exclude values superior to the value selected in Blocklayered. It wouldn't be a problem to write a code for every value since I only have 11 always-steady values for my Feature.

Can anyone please tell me how I could do so ? I'll be very grateful for that.

Thanks for reading!

Soba R

Edited by SobaRoso (see edit history)

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

Important Information

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