View Single Post
  #1  
Old 08-18-2004, 06:21 PM
  EnriqueHavoc's Avatar 
EnriqueHavoc EnriqueHavoc is offline
 

eXpert
  
Join Date: Jul 2004
Posts: 232
 

Default How do I... use an image for Add to Cart button?

im using x-cart 4.0.0 and im trying to change the /buttons/add_to_cart.tpl to use a custom image for the "add to cart" link instead of button.tpl.

I can get the image to show up, but the $href variable doesnt work right and in the browser just shows up as "http://website/store/$href" instead of the actual link...

am i going about this right? i tried copying all the javascript $href variable code from button.tpl and put it in add_to_cart.tpl but that doesnt work either...

how do i use the $href variable?
Reply With Quote