View Single Post
  #317  
Old 03-01-2005, 01:59 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

The continue shopping button and items come as an addon to ezCheckout with the ezRecommends module. Since they are adding products during checkout, I felt it was important to keep them updated with a total through the process.

Code similar to this should do the trick (you may need to adjust it). I'll give you the code but you should really buy ezRecommends anyway

Code:
<div align="right"> <p align="right">{if $login ne ""}<form action="/include/login.php" method=post name=loginform><input type=hidden name=mode value=logout><input type=hidden name=redirect value="customer"></form>{$lng.lbl_loggedinas} {$login} [{$lng.lbl_logoff}] | {/if}{$lng.lbl_continue_shopping}</p> <TABLE border=0 cellpadding=1 cellspacing=0> <TR> <TD rowspan=2 width=23> {if $minicart_total_items > 0}[img]{$ImagesDir}/cart_full.gif[/img]{else}[img]{$ImagesDir}/cart_empty.gif[/img]{/if} </TD> {if $minicart_total_items > 0} <TD class=VertMenuItems>{$lng.lbl_items}: </TD> <TD class=VertMenuItems color=#0000ff>{$minicart_total_items}</TD> <TD class=VertMenuItems>{$lng.lbl_total}: </TD> <TD class=VertMenuItems>{include file="currency.tpl" value=$minicart_total_cost}</TD> {else} <TD class=VertMenuItems color=#0000ff>{$lng.lbl_cart_is_empty}</TD> {/if} </TR> </TABLE> </div>

The WEBSITECM.COM >> steps as far as I'm aware is just the include of location.tpl which should be standard in installations.[/code]
Reply With Quote