Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Create new button for static page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #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
  #2  
Old 01-11-2008, 07:54 PM
 
antonywalsh antonywalsh is offline
 

Member
  
Join Date: Dec 2007
Posts: 27
 

Default Re: Create new button for static page

Can Anybody help on this? or have I stumped everyone.
__________________
X-Cart Version 4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:46 PM.

   

 
X-Cart forums © 2001-2020