product attributes list order not working
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!
product attributes list order not working
Laravel: 9.13.0
Aimeos: 2022.04
PHP: 8.1.6
DB: MariaDB 15.1
Hello,
I've added multiple attributes to products.
When adding these products to a "selection" product the attribute selection order is not matching to the order of the attribute's number assigned.
Could you please let me know where else is this controlled from, thanks.
Aimeos: 2022.04
PHP: 8.1.6
DB: MariaDB 15.1
Hello,
I've added multiple attributes to products.
When adding these products to a "selection" product the attribute selection order is not matching to the order of the attribute's number assigned.
Could you please let me know where else is this controlled from, thanks.
- VirtualSpy
- Advanced
- Posts: 122
- Joined: 05 Jul 2022, 07:55
Re: product attributes list order not working
did you assign number from 0 ?....if no you should start from 0.
Re: product attributes list order not working
yes, numbering starts from 0
Re: product attributes list order not working
Attributes should be sorted by position and name:
https://github.com/aimeos/ai-client-htm ... p#L99-L109
Please check in that template why it doesn't work for you.
https://github.com/aimeos/ai-client-htm ... p#L99-L109
Please check in that template why it doesn't work for you.
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