Shopping Cart not merging on different sessions

  • Posts: 25
  • Thank you received: 0
12 years 11 months ago #16113

Hi, I am noticing issues where items saved for a user are not merged with new items on a new session. Here are the steps where I can consistently reproduce. Would really appreciate any help!

1. Navigate to demo product page:

2. Register a new user
3. Add an item to shopping cart
4. Log out
5. Add a different item to the shopping cart
6a. Login again. (go to step 7)
6b. (Alternate Step) Proceed to Checkout and login again
7. Check Shopping Cart

- At this point the shopping cart will either only have items added from step 3 (scenario 6a) or only items added in step 5 (scenario 6b). Is there any way to fix it so the items will merge when user logins again?

Thanks!

Last edit: 12 years 11 months ago by hoken.

Please Log in or Create an account to join the conversation.

  • Posts: 81598
  • Thank you received: 13081
  • MODERATOR
12 years 11 months ago #16122

When you login hikashop checks whether or not you have a cart in your anonymous session. If yes, it links it to your user account. If not, it uses the last cart you had while logged in.
When you logout, the new anonymous session does not keep the cart.
That behavior should be consistent unless you have the problem on that thread: www.hikashop.com/en/support/forum/4-how-...ml?limit=20&start=20 (there is also the solution there)
In that case, the behavior might be different based on whether you login from within hikashop or from joomla.

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum