News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Shopping cart when logout

Started by murat, October 31, 2011, 19:05:53 PM

Previous topic - Next topic

murat

If i push logout on cart page the product disappears from cart and i see cart without any product. Is it a bug or it should be so? Virtuemart 2.0 RC-k and Joomla 1.7

PRO

I dont think this is going to be a bug, but maybe someone else can answer.

Milbo

It is for cleaner programming, then we see very fast, when we forgot to add an "if empty". It is simpel to show an empty cart with a link back to the main store or so. But it is also part of style. I dont know what is better. It is easy and i would say that a template beginner can do it within some minutes.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

murat

I think it would be better if after logout user can see the product that was in cart or should be redirected on main page of virtuemart.

CranialBlaze

The items in the carts would of been saved in the users session, loging out creates a new session for a gueat user.  Its quite logical the cart would be empty. The items where after all part of the cart for a user who is now offline.



Sent from my Nexus S using Tapatalk
I don't believe, therefore it does not exist

Joomla 2.5 VM 2.0.2

Milbo

Yes, the cart content is stored in the session. therefore even in the database (joomla session table). The only way to create a new session is to close the old session. So this idea " think it would be better if after logout user can see the product " is "impossible".
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/