select multiple color in catalog filter

Help for integrating the Laravel package
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!
User avatar
GülsümAkça
Posts: 57
Joined: 20 Nov 2020, 13:30

select multiple color in catalog filter

Post by GülsümAkça » 24 Apr 2022, 11:33

hello, I want to select multiple options like "show products that are blue or black " when filtering products. But this is not possible in Aimeos. How can I do it ?
thanks

User avatar
aimeos
Administrator
Posts: 7923
Joined: 01 Jan 1970, 00:00

Re: select multiple color in catalog filter

Post by aimeos » 26 Apr 2022, 07:40

The the "one of" filter for the type "color":

Code: Select all

'client' => [
	'html' => [
		'catalog' => [
			'filter' => [
				'attribute' => [
					'types-oneof' => [
						'color'
					]
				]
			]
		]
	]
]
See also: https://aimeos.org/docs/2021.x/config/c ... ypes-oneof
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply