Unable to add Products 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!
afifaakhtar
Posts: 1
Joined: 10 Dec 2019, 06:18

Unable to add Products in Basket

Post by afifaakhtar » 10 Dec 2019, 07:02

I've updated my aimeos version from 2018.10 to 2019.07 but after update basket functionality is not working.
Products are not being added in the basket (neither mini nor standard).
Because of empty basket I'm getting the following error on "Add to Basket" button click,

Call to undefined method Aimeos\MShop\Order\Item\Base\Product\Standard::getAttributes()

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

Re: Unable to add Products in Basket

Post by aimeos » 11 Dec 2019, 09:28

The current version is 2019.10, please use this one as 2019.07 isn't supported any more.

From 2018 to 2019, the name of the method changed to getAttributeItems():
https://github.com/aimeos/aimeos-core/b ... #L282-L299

Please read the changelog for 2019.x and adapt your own code you've written accordingly:
https://aimeos.org/docs/Developers/Changelog/2019
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply