X-Cart Mods, X-Cart Addons - WebsiteCM
Did you know...
We offer a Reseller Program
to add an additional stream of revenue to your business.
X-Cart Excellence eZine
Subscribe for proven tips and special discounts!
Cart is empty
X-Cart Services
X-Cart Customization X-Cart Optimization
X-Cart Mods
Recommended Packages Must Have Mods Reseller Program
Filter Mods By Version
Mods By Purpose
X-Cart Administration X-Cart Packages X-Cart Appearance X-Cart Conversion X-Cart Customers X-Cart Integration X-Cart Marketing X-Cart Navigation X-Cart Search X-Cart SEO X-Cart Shopping Feeds X-Cart Upselling X-Cart Templates
Mods By Firm
WebsiteCM BCSE Firetank

WebsiteCM on Twitter

Keep Customer Carts on X-Cart Logout

Keep Customer Carts on X-Cart Logout
Category: Articles
Posted: Feb 2, 2010
Synopsis: This simple x-cart code change will prevent users shopping carts from being cleared when they log out of x-cart.

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 = "";




Site Map