![]() |
Edit customer/main/products_t.tpl. Remove the {*** comments around the buy now button.
|
What do you mean take out the comment out? I tried to take out the {/if}
{*** Uncomment it if you need 'Buy Now' button *** but that didn't work. then I tried to just take out the *** but no luck. This is what I found. please explain further. And thank you for taking your time to explain. {/if} {*** Uncomment it if you need 'Buy Now' button *** {if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl" product=$products[product]} {/if} *** Uncomment it if you need 'Buy Now' button ***} |
Remove JUST these two lines:
{*** Uncomment it if you need 'Buy Now' button *** *** Uncomment it if you need 'Buy Now' button ***} |
For some reason it didn't work. I have tried this 2 times. THis is the error I get
[color=blueFatal error: Smarty error: [in customer/main/buy_now.tpl line 1]: syntax error: unrecognized tag: $Id: buy_now.tpl,v 1.15.2.7 2004/12/01 15:15:49 mclap Exp $ (Smar in /home/embellis/public_html/store/Smarty-2.6.3/Smarty.class.php on line 1082 ][/color] |
Sorry here is the error I get
Fatal error: Smarty error: [in customer/main/buy_now.tpl line 1]: syntax error: unrecognized tag: $Id: buy_now.tpl,v 1.15.2.7 2004/12/01 15:15:49 mclap Exp $ (Smar in /home/embellis/public_html/store/Smarty-2.6.3/Smarty.class.php on line 1082 |
You either did something to the buy now template, or you removed more than just those two lines of code from product_t.tpl....
|
I copied an entire section before I started then took those two lines out and checked to make sure I didn't take anything else out or make any other changes. IT still didn't work.
I will eventually figure it out. Thank you for your time and info. |
Did you alter buy_now.tpl?
|
I looked at it but didn't take anything out.
|
I just restored my buy_now.tpl then commented out and it works. I must of done something when I opened the buy_now button.
The buy now button appears but it is left justified with lack of a better word. How do I center the buynow button under my product image? |
All times are GMT -8. The time now is 05:36 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.