Getting Error While Product Adding To 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!
awaidqureshi
Posts: 86
Joined: 12 Jan 2019, 15:17

Getting Error While Product Adding To Basket

Post by awaidqureshi » 06 Jan 2020, 06:47

I m getting this error while adding product in to the basket.

Invalid "attribute" references for product with ID "411"

What can be the issue , how can i solve this

Thanks.

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

Re: Getting Error While Product Adding To Basket

Post by aimeos » 07 Jan 2020, 13:06

This is an exception from the basket controller:
https://github.com/aimeos/ai-controller ... p#L89-L118

The variant/config/custom attribute IDs you've passed to the basket when hitting "Add to basket" are not all associated to the product. Maybe the format of the POST parameters is wrong:
https://aimeos.org/docs/Developers/Html ... mes#Basket
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply