| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Clear cart if cusotmer logs out | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() If a customer adds an items to their cart and then logs out; when they log back in I am re-directed to the cart page.
- If a cusotmer logs out, how can I clear the cart history, so the item is not saved into their basket. The cusotmer would have to re-add the item to their cart?
__________________
x-cart 4.0.16v linux server |
|||||||
#2
|
|||||||
|
|||||||
![]() You would need to clear their cookie on logout. Why would you not want your customers to save their cart? Personlly I'd be annoyed to come back and find my cart empty as I often save a cart for future purchase.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() How would I clear go about in clearing the cookies?
__________________
x-cart 4.0.16v linux server |
|||||||
#4
|
|||||||
|
|||||||
![]() I really need the cart to empty due to QTY control. I need items to drop from users carts upon logout. Is this possible?
__________________
4.1.5 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() It has to be custom coded to do that. But items in cart for one custom do not affect quantity for others - only after order is placed
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||
|
|||||||
![]() Quote:
The way my system works is it immediately makes the QTY change. The client is complicated. Though for anyone else looking for the solution, this is what I did... Open {XCART DIRECTORY}/includes/login.php find Code:
add this right after it Code:
__________________
4.1.5 |
|||||||
|
|||
X-Cart forums © 2001-2020
|