Hi,
All of the sudden my cart content is gone when I log off and log back in. Could someone guide on what to look for? Maybe I turned something off?
Losing cart content help?
-
- Lead Developer
- Posts: 2656
- Joined: Tue Nov 05, 2019 6:02 pm
- Has thanked: 4 times
- Been thanked: 182 times
Re: Losing cart content help?
It's supposed to load the cart data from customers_basket when you log back in. Either that's broken or it's not saving to customers_basket in the first place. Both those things happen in the shoppingCart class. The restoration is initiated by a database hook on login.
If you check in phpMyAdmin, you should be able to see whether or not your customer ID has products in customers_basket before you log in. Try logging in and see what happens. Does it still have products in customers_basket if it did previously? Try adding a product if it doesn't have anything. Does it appear in customers_basket?
If you check in phpMyAdmin, you should be able to see whether or not your customer ID has products in customers_basket before you log in. Try logging in and see what happens. Does it still have products in customers_basket if it did previously? Try adding a product if it doesn't have anything. Does it appear in customers_basket?
-
- VIP Member
- Posts: 83
- Joined: Fri Mar 12, 2021 2:09 am
- Has thanked: 1 time
- Been thanked: 2 times
Re: Losing cart content help?
I tried it in Windows on 3 different browsers and the Cart contents is there. I then switch to my Linux system and the cart content is not there on 2 different browsers, even after rebooting the Linux system. May be is not a problem...If someone would like to test it for me the website is https://geishacoffee.com add a couple of coffees...Thanks for the help.
This group has been of great help.
This group has been of great help.
patrick
-
- VIP Member
- Posts: 2024
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 28 times
- Been thanked: 187 times
Re: Losing cart content help?
Created account - added to cart - signed out - signed in again - cart contents still there - works as expected.plamastus wrote: ↑Fri Apr 09, 2021 2:19 pmIf someone would like to test it for me the website is https://geishacoffee.com add a couple of coffees...Thanks for the help.
-
- VIP Member
- Posts: 83
- Joined: Fri Mar 12, 2021 2:09 am
- Has thanked: 1 time
- Been thanked: 2 times
Re: Losing cart content help?
It must be my Linux browsers cache or cookies who knows...Thank you for taking your time to do this!!!Created account - added to cart - signed out - signed in again - cart contents still there - works as expected.
patrick