Jump to content

Edit History

SobaRoso

SobaRoso

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

SobaRoso

SobaRoso

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 5 does comes with 1,2,3,4 and 5. 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 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

×
×
  • Create New...