cart functionality
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!
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
cart functionality
I have just now noticed in my aimeos that, the cart is not working properly I will call it incomplete,
here when the user is logged in and adds articles to the cart, it will not available for next time (it is not stored in the database )
how i can make this work
I want to show the user previous cart items whenever he signs in or signup on any device.
here when the user is logged in and adds articles to the cart, it will not available for next time (it is not stored in the database )
how i can make this work
I want to show the user previous cart items whenever he signs in or signup on any device.
Re: cart functionality
The basket is already stored in the database but the token for retrieving the basket is lost when the user logs out of the session is cleaned up. At the moment, you would need to overwrite this method and store the token also in the users table:
https://github.com/aimeos/aimeos-larave ... #L266-L273
https://github.com/aimeos/aimeos-larave ... #L266-L273
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
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
Re: cart functionality
unable to open the github link provided
Re: cart functionality
Sorry, the aimeos-laravel package has been restructured. Here's the link to the 2022.10 version:
https://github.com/aimeos/aimeos-larave ... #L260-L273
https://github.com/aimeos/aimeos-larave ... #L260-L273
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