Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Customers also purchased on cart page?

Customers also purchased on cart page?

Locked

Views: 956

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Aug 2009, 1:55 PM
#1
trippy1976 avatar

trippy1976

New Zenner

Join Date:
Nov 2005
Posts:
43
Plugin Contributions:
0

Customers also purchased on cart page?

I thought this would be simple but I'm having no success.

On the tpl_product_info_display.php page there is this:

<!--bof also purchased products module--> <?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?> <!--eof also purchased products module-->

So I figured... I can just add that to my cart template. Of course this is not working. In general, I think I'm missing some kind of required variable for this module to work correctly when on the cart page. It appears to me that the issue is probably the $list_box_contents array variable not being populated. Where is this done?

Any help would be appreciated. My goal is to show a small # of "also bought" products between the cart and the checkout/continue buttons. Ideally the same as showed on the product page for the product you just added.

26 Aug 2009, 8:45 PM
#3
trippy1976 avatar

trippy1976

New Zenner

Join Date:
Nov 2005
Posts:
43
Plugin Contributions:
0

Re: Customers also purchased on cart page?

this was what I needed. Added the module, tweaked for my install, and life was good. Thanks!