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)
-   -   Product list and Buy now button (https://forum.x-cart.com/showthread.php?t=50793)

amy2203 11-17-2009 11:17 AM

Product list and Buy now button
 
I've got the display buy now button in products list ticked in the backend, but no buttons in the customer end?

sample page:
http://www.willowtreecrafts.co.uk/shop/home.php?cat=305

Any ideas?

tia,

cflsystems 11-18-2009 02:45 PM

Re: Product list and Buy now button
 
Check the template itself - maybe buy now is deleted/commented out from there or allowed for featured products only? Also check buy_now.tpl

amy2203 11-18-2009 09:43 PM

Re: Product list and Buy now button
 
products.tpl has the following in it:
Code:

{if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include file="customer/main/buy_now.tpl" product=$products[product]}
{/if}


and buy_now.tpl looks original, theres a lot in there for just a button!

amy2203 11-18-2009 09:56 PM

Re: Product list and Buy now button
 
looks like it was this in products_t.tpl

Code:

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



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

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