dannielhendrix Posted December 2, 2022 Share Posted December 2, 2022 Hi I have an issue with a shopping cart, its Empty after user Logout/Login. Here is sequence of the issue: 1. I create a shopping cart as a "registered user", then I LOGOUT without completing the order. 2. If I login once again with the same user, my shopping cart is EMPTY, so the user must add all products once again. Since I see that prestashop save data regarding the shopping carts and which user what has added, why this data are not show to my registered users once they logout/login? PS: Yes 'Re-display cart' is activated Link to comment Share on other sites More sharing options...
ComGrafPL Posted December 5, 2022 Share Posted December 5, 2022 Try with this: https://github.com/PrestaShop/PrestaShop/issues/28336 Link to comment Share on other sites More sharing options...
redrum Posted 7 hours ago Share Posted 7 hours ago PrestaShop replace the saved cart with a new cart, when the customer adds an item into the cart before logging in. That's the logic of PrestaShop. And that logic is still present in PrestaShop version 9.x. The module “Merge Carts – Prevent Lost Shopping Carts on Login” will fix this and merge the old saved cart with the newly created one. “Merge Carts” is available at:https://addons.prestashop.com/en/social-login-connect/96287-merge-carts-prevent-lost-shopping-carts-on-login.html You can try the demo at:https://www.bulletproof.se/_demos/mergecarts/ (btw, the demo is darn easy to use. It's got some cool features, and it's super easy to create an account and log in). I explain the logic of how PrestaShop handles carts and how the module “Merge Carts” will fix it in this video:https://youtu.be/mXKQUnPAjw8 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now