View Single Post
  #1  
Old 04-18-2005, 12:05 PM
 
jb5ep jb5ep is offline
 

Advanced Member
  
Join Date: Apr 2005
Location: U.K.
Posts: 65
 

Default How to Replicate the 'Upsell' dialog?

Hi,

I'm trying to replicate the upselling ("Related Products") dialog box on another page (specifically the cart.php page, - the one with the 'Discount coupon' box).

Why? From what I can gather, it seems to be a better way of offer upsell opportunities that the default XC configuration (which, as has been mentioned numerous times in this forum isn't ideal,for example, pushing an upsell before the customer's added any products to their cart..)

The custom mods i've seen aren't quite what i'm after and i can't find any posts explicitly detailing how to do this...

I've tried doing this:

1. In customer/main/cart.tpl i've added the following, which i've taken out of customer/main/product.tpl

Code:
{if $active_modules.Upselling_Products ne ""} {include file="modules/Upselling_Products/related_products.tpl" } {/if}

2. Now, I thought this would replicate the Upsell dialog on the cart page...not so! Page compiles no probs, but the upsell dialog doesn't appear.

Anyone got any ideas? Is there any need to mod any core php files?

Cheers,
JB
__________________
X-Cart 4.0.17
ezUpsell
PHP 4.4.1
MySQL 4.0.25-standard
Apache 1.3.34
Linux
Reply With Quote