View Single Post
  #1  
Old 08-08-2012, 08:03 PM
 
dave01978 dave01978 is offline
 

Advanced Member
  
Join Date: Nov 2006
Posts: 95
 

Default Remember Anonymous Carts

Does anyone know if this file exsists in 4.5.2?

I cant seem to find it

Open minicart.php

Find: x_session_register ('cart');

After add: // WCM - Anon Cart - START
if ($active_modules['WCM_Remember_Anon_Carts'])
{
x_session_register('wcm_cartchecked');
x_session_register('wcm_cartid');
include_once $xcart_dir.'/modules/AnonCart/func_anoncart_minicart.php';
if ($current_area == 'C' AND !wcm_anon_checkcart($cart['products']) AND $wcm_cartchecked != 1)
{
$wcm_cartid = wcm_anon_getcartid();
$wcm_cart = wcm_anon_getcart($wcm_cartid);
if (wcm_anon_checkcart($wcm_cart['products']))
$cart = $wcm_cart;
}
$wcm_cartchecked = 1;
}
// / WCM - Anon Cart
__________________
Xcart Version 4.5.2
CDSEO Pro
Remember Anonymous carts
Social Bookmarks
Cart Abandonment
catagory map
mobile mod
product map
XCMS
Auth.net DPM
Reply With Quote