| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
display images? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Edit customer/main/products_t.tpl. Remove the {*** comments around the buy now button.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#12
|
|||||||
|
|||||||
![]() 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 ***}
__________________
x-cart version 4.0.13 |
|||||||
#13
|
|||||||
|
|||||||
![]() Remove JUST these two lines:
{*** Uncomment it if you need 'Buy Now' button *** *** Uncomment it if you need 'Buy Now' button ***}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#14
|
|||||||
|
|||||||
![]() 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]
__________________
x-cart version 4.0.13 |
|||||||
#15
|
|||||||
|
|||||||
![]() 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
__________________
x-cart version 4.0.13 |
|||||||
#16
|
|||||||
|
|||||||
![]() You either did something to the buy now template, or you removed more than just those two lines of code from product_t.tpl....
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#17
|
|||||||
|
|||||||
![]() 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.
__________________
x-cart version 4.0.13 |
|||||||
#18
|
|||||||
|
|||||||
![]() Did you alter buy_now.tpl?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#19
|
|||||||
|
|||||||
![]() I looked at it but didn't take anything out.
__________________
x-cart version 4.0.13 |
|||||||
#20
|
|||||||
|
|||||||
![]() 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?
__________________
x-cart version 4.0.13 |
|||||||
|
|||
X-Cart forums © 2001-2020
|