when choose two color for filter use and but it bust be use or
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
when choose two color for filter use and but it bust be use or
i use aimeos/laravel 2020.07
i have 2 products with Red color and 0 product with Black color.
in catalog filter when i choose Red checkbox i see 2 product in list but when choose Red checkbox and Black check box, don't show any products, but it must show 2 products with Red color because it must show all products have Red color or Black color.
what can i do for this?
i have 2 products with Red color and 0 product with Black color.
in catalog filter when i choose Red checkbox i see 2 product in list but when choose Red checkbox and Black check box, don't show any products, but it must show 2 products with Red color because it must show all products have Red color or Black color.
what can i do for this?
Re: when choose two color for filter use and but it bust be use or
By default, the attribute are combined using AND so users can drill down to get the products they want.
You can use OR by configuring for the attribute type code "color":
Documentation: https://aimeos.org/docs/master/config/c ... pes-option
You can use OR by configuring for the attribute type code "color":
Code: Select all
client/html/catalog/filter/attribute/types-option => ['color']
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star