Keep Customer Carts on X-Cart Logout
Monday, February 25, 2008
Want to allow your x-cart users to keep their shopping cart contents upon log out? This simple change will modify your x-cart to do so:
Open include/login.php
FIND:
if ($utype == 'C')
$cart = "";
REPLACE WITH:
// WCM - Don't Clear Cart
#if ($utype == 'C')
#$cart = "";