Thread: button graphics
View Single Post
  #28  
Old 12-21-2007, 09:56 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: button graphics

The change the add to cart button you edit add_to_cart.tpl.

change:
{include file="buttons/button.tpl" button_title=$lng.lbl_add_to_cart href=$href title=$title style=$style}

to:
{include file="buttons/atcButton.tpl" button_title=$lng.lbl_add_to_cart href=$href title=$title style=$style}

Ok so atcButton.tpl does not yet exist, so you open button.tpl with your text editor and save a copy of it as atcButton.tpl

NOTE: make sure you don't save over button.tpl.

Make the appropriate changes to you new file and upload the add_to_cart.tpl and the new atcButton.tpl to the buttons folder and you've got it.

you can check out www.affordableimrpint.com to see it in action. I have changed all of the buttons. You can also make them change when hovered over.
__________________
xcart 5.1.2
Reply With Quote