Phoca Cart Filter Module - filter tags with "AND" not "OR"

Phoca Cart - complex e-commerce extension
seagul
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Mar 2010, 11:17

Phoca Cart Filter Module - filter tags with "AND" not "OR"

Post by seagul »

Hi,

I am using the phoca cart filter module for categories and tags.
The Tags-Filter is working now like an "OR" statement, but I would need it like an "AND" statement.
Is there a way to configure this?

Example
Food Products
- 2 are vegan
- 3 are without lactose
from these products one is vegan AND without lactose
If I check the filter for "vegan" and "without lactose": --> I see 5 products (all vegan AND all without lactose).
but I only want to see 1 product that has both tags.

How can I solve this?

Thanks
Sigrid
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Filter Module - filter tags with "AND" not "OR"

Post by Jan »

Hi, I am testing it now, it seems there can be some way to do it. I will do more tests.

Jan
If you find Phoca extensions useful, please support the project
seagul
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Mar 2010, 11:17

Re: Phoca Cart Filter Module - filter tags with "AND" not "OR"

Post by seagul »

That would be great!
Thanks - if you need some tests, just let me know.
Sigrid
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Filter Module - filter tags with "AND" not "OR"

Post by Jan »

Hi, try to test this Beta version:

https://github.com/PhocaCz/PhocaCart/re ... 5Beta4.zip

Just set the parameter "Tags (Filter Method)" to "All"

Image

And let me know.

Thank you, Jan
If you find Phoca extensions useful, please support the project
Post Reply