Thread: button graphics
View Single Post
  #23  
Old 12-19-2007, 03:25 PM
  inboxnews's Avatar 
inboxnews inboxnews is offline
 

Senior Member
  
Join Date: Jul 2007
Posts: 121
 

Default Re: button graphics

OK, I've changed the 'add to cart' button on the product detail page (product.tpl). Here's how to do it:

Change this code on skin1/buttons/button.tpl on or near line 25:

Quote:
<td>
<{$img_type} src="{$ImagesDir}/but1.gif" class="ButtonSide" alt="{$title|escape}" />
</td>
<td class="Button"{$reading_direction_tag}>
<font class="Button">{$button_title}</font>
</td>
<td>
<img src="{$ImagesDir}/but2.gif" class="ButtonSide" alt="{$title|escape}" />
</td>

to this:

Quote:
<td>
<img src="{$ImagesDir}/button-add.jpg" />
</td>

Make sure your new image has been uploaded to /skin1/images

Still working on the other stuff... feel free to submit your comments. Thanks.
__________________
XCART 4.1.8 [Linux]
Reply With Quote