Knowledgebase: Manufacturers (A-Z
Does ezRecommends work with regular x-cart checkout instead of just Fast Lane Checkout?
Posted by - NA - on 30 November 2010 01:46 PM
ezRecommends for X-Cart will work with the default x-cart checkout with two simple edits:


Open cart.php

FIND:

# Assign the current location line
$smarty->assign("location", $location);
BEFORE add:

// WCM ezRecommends
if($active_modules['WCM_ezRecommends'] AND $mode == 'checkout' AND $login)
include $xcart_dir . '/modules/WCM_ezRecommends/recommends.php';
// / WCM ezRecommends

Open skin1/customer/home_main.tpl

FIND:

{elseif $main eq "checkout"}
{include file="customer/main/checkout.tpl"}
BEFORE add:

{* WCM ezRecommends *}
{elseif $main eq "checkout" AND $wcm_recommended_products ne ""}
{include file="modules/WCM_ezRecommends/recommends.tpl"}
{* / WCM ezRecommends *}


Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: