Cart resets when user logins

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16530

Yes. That's the normal behavior. Once the session expires, the cart is reseted. Thus, the products are lost. One solution to implement in the future could be to add cookies to the user browser in order to store his cart so that it could still be retrieved.

For the cart, you could try that instead:
CART_EMPTY=" "

It will still be considered as empty by the browser and won't display anything. But HikaShop won't consider it empty and will still put around the divs necessary for the refresh of the cart.

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

  • Posts: 66
  • Thank you received: 3
13 years 6 months ago #16534

Ok Thank you. Maybe that's an option for next time. I have used the nonbreakingspace here and there already (views, language files etc.). As I mentioned before I find the whole procedure of logging off and on while loosing the products added to the cart rather confusing for a customer. If that could be solved in a future release with a cookie session excellent.

Will that mean that version 1.5.0 that I have downloaded this afternoon will be the final version?

Does not belong here but in the meantime I was thinking of a new feature. A wish list where customers could place products that they buy frequently. From that wish list they can add the products directly to the shopping cart. Will post that later.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
13 years 6 months ago #16536

Unless we find another big bug which needs to be corrected immediately, yes :)

That's already in the todo list. That's in part why we save the cart in the database. Wish lists will just be carts with another type in the cart table...

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

Time to create page: 0.062 seconds
Powered by Kunena Forum