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)
-   -   display images? (https://forum.x-cart.com/showthread.php?t=17021)

balinor 10-20-2005 09:27 AM

Edit customer/main/products_t.tpl. Remove the {*** comments around the buy now button.

embellish1 10-20-2005 10:14 AM

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 ***}

balinor 10-20-2005 10:42 AM

Remove JUST these two lines:

{*** Uncomment it if you need 'Buy Now' button ***

*** Uncomment it if you need 'Buy Now' button ***}

embellish1 10-20-2005 10:55 AM

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]

embellish1 10-20-2005 10:56 AM

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

balinor 10-20-2005 11:01 AM

You either did something to the buy now template, or you removed more than just those two lines of code from product_t.tpl....

embellish1 10-20-2005 11:08 AM

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.

balinor 10-20-2005 11:10 AM

Did you alter buy_now.tpl?

embellish1 10-20-2005 11:11 AM

I looked at it but didn't take anything out.

embellish1 10-20-2005 01:28 PM

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.