X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Create new button for static page (https://forum.x-cart.com/showthread.php?t=36676)

antonywalsh 01-10-2008 05:56 PM

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

antonywalsh 01-11-2008 07:54 PM

Re: Create new button for static page
 
Can Anybody help on this? or have I stumped everyone.


All times are GMT -8. The time now is 12:43 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.