Change product custom atttribute value in basket

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!
lockhart97
Posts: 28
Joined: 17 Aug 2023, 00:16

Change product custom atttribute value in basket

Post by lockhart97 » 26 Aug 2024, 04:17

Laravel: 11.0
Aimeos: 2024.04
PHP: 8.2
Environment: Linux

I have a custom attribute which I set to some value when adding product to cart. After the product is added to cart I am not able to update the value for that attribute. In documentation its mentioned that we can update only quantity of the product. Is it possible to update product's custom attribute value as well?

I am using JSON APIs

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

Re: Change product custom atttribute value in basket

Post by aimeos » 27 Aug 2024, 19:55

Only if you delete the product and add it again. Otherwise, only quantity updates are possible.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

lockhart97
Posts: 28
Joined: 17 Aug 2023, 00:16

Re: Change product custom atttribute value in basket

Post by lockhart97 » 30 Aug 2024, 05:25

I have created a basket plugin to manage this. SO I can now update a specific custom attribute as required by my application. Thanks.

Post Reply