View Single Post
  #2  
Old 09-02-2009, 10:17 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: ezUpsell question

1. Find your original /skin1/modules/ezUpsell/ezupsell.tpl

you probably deleted some template code from this file.

2. To lose the text and only use your image for the continue/checkout now buttons -- in the template, find the <a href for the continue and go to cart...

But looking at the original source from years ago -- there is a MUCH better way to do this -- and if you have your own image in there, you're already 99% there...

This is the source from my very old original version -- you will want to edit this:

Code:
<td width="195" height="43" background="{$ImagesDir}/ez_continueshopping.gif" valign="bottom"> <center><br><a href="home.php?cat={$product_info.categoryid}&page={$page}"><font color="#FFFFFF" size=2><b>{$lng.lbl_continue|upper}</b></font></a></center></td> <td width="216" height="43" background="{$ImagesDir}/ez_checkout.gif" valign="bottom"> <center><br><a href="cart.php"><font color="#FFFFFF" size=2><b>{$lng.lbl_checkout|upper}</b></font></a></center></td>

ALL YOU NEED are the links and the images... get rid of the default background image, then...

Code:
<a href="home.php?cat={$product_info.categoryid}&page={$page}"><img src="{$ImagesDir}/your_keep-shopping_image.gif" alt="continue shopping" width="165" height="140" border="0" /></a> and <a href="cart.php"><img src="{$ImagesDir}/your_go-to-cart_image.gif" alt="checkout now" width="165" height="140" border="0" /></a>

Helpful?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote