View Single Post
  #1  
Old 01-10-2008, 05:56 PM
 
antonywalsh antonywalsh is offline
 

Member
  
Join Date: Dec 2007
Posts: 27
 

Default Create new button for static page

I wanted to create a new button for the product.tpl page next to add to cart and add to wish list. The button would be for a static page called size chart.

I created the lbl called lbl_sizechart?

I created the .tpl called sizechart.tpl and the code was this :-
{include file="buttons/button.tpl" button_title=$lng.lbl_sizechart href=$href title=$title style=$style}

Then in the product.tpl I entered this code in a new cell next to the add to wishlist code :-
{include file="buttons/sizechart.tpl" style="button" href="http://www.pinkandcream.com/pages/us/sizeguide.html"}

nothing is being displayed, any ideas?

Thanks
__________________
X-Cart Version 4.1.9
Reply With Quote