Multiselect attributes

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
vp33
Posts: 5
Joined: 18 Dec 2024, 16:01

Multiselect attributes

Post by vp33 » 18 Dec 2024, 16:06

Hi,

I didnt notice in demo the posibility to create a multi-select attribute.
Also that multi-select attribute should have the posibility to be updated via import.
And of course to be filterable in front.

Any info here please ?

Ty

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

Re: Multiselect attributes

Post by aimeos » 18 Dec 2024, 16:09

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

vp33
Posts: 5
Joined: 18 Dec 2024, 16:01

Re: Multiselect attributes

Post by vp33 » 19 Dec 2024, 09:17

ty for fast answer but it helps nothing.
1. i allready checked documentantion and you have 0 returns on multislect
2. i found 0 informations about how the TYPES work and I will extend this:

a. there is attribtue, attribute lists, attribute properties in types
b. there is catalog > attributes

How do they work together and where is a detailed documentation on this ?
I allready read this https://aimeos.org/docs/2023.x/config/admin-jqadm/type/ but this is more like for extending than to using the backend.
And in here https://aimeos.org/docs/latest/manual/product-details/ there is no explanation of the types created in 1 section working with 2 section (numbered above).

So my q is the same: how to create a multiselect attrbute that can be selected in backend with multiple values and also to be able to filter it in front end ?

thank you
Last edited by vp33 on 19 Dec 2024, 09:50, edited 2 times in total.

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

Re: Multiselect attributes

Post by aimeos » 19 Dec 2024, 15:01

OK, got it. Attribute types with multiple selected entries are currently not supported by products.

To make them possible, you have to adapt this file for allowing multiple selections in the frontend:
https://github.com/aimeos/ai-client-htm ... ribute.php

How the parameters must be passed to the basket is documented here (b_prod[0][attrconfid][id][]: xx):
https://aimeos.org/docs/latest/frontend ... es/#basket

In the backend, you only have to add several config attributes of the same type to the product like shown in the link to the docs.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply