X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Remember Anonymous Carts (https://forum.x-cart.com/showthread.php?t=64534)

dave01978 08-08-2012 08:03 PM

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


All times are GMT -8. The time now is 12:33 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.