![]() |
Adding a button beside wishlist
I want to add a button beside my wishlist button like seen here http://www.digitalcandy.us/shoppe/product.php?productid=3604&cat=0&page=1 . Any clue how to do this?
|
Re: Adding a button beside wishlist
You'd need to get the code for that button, and add it in the appropriate spot in customer/main/product.tpl
|
Re: Adding a button beside wishlist
have the code where would the right spot be?
|
Re: Adding a button beside wishlist
You'll see the add to cart and add to wishlist buttons in this area:
Code:
<td>{include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"}</td> Just add another table cell and add your code there, like this: Code:
<td>{include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"}</td> |
Re: Adding a button beside wishlist
found the spot but now I get an error and its smashed against the wishlist button
Code:
Error: Smarty error: [in customer/main/product.tpl line 174]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590) in /home/prettysc/public_html/xcart/Smarty-2.6.19/Smarty.class.php on line 1092 http://prettyscrappy.com/xcart/product.php?productid=17632&cat=0&page=1 |
Re: Adding a button beside wishlist
oh and thank you for helping me I'm new to all this
|
Re: Adding a button beside wishlist
Sorry for posting again i forgot to add my code
Code:
<table cellspacing="0" cellpadding="0"> Quote:
|
Re: Adding a button beside wishlist
Try replacing this:
Code:
<td> with this: Code:
<td style="padding-left: 10px;"> |
Re: Adding a button beside wishlist
That worked thank you so much!
|
All times are GMT -8. The time now is 10:49 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.