Re: easy way to add an add to cart button after install
Ah, that might have been a 'bug' in that version of X-Cart. Look at customer/main/products_t.tpl. Find this:
{*** 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 ***}
and replace with this:
{if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include file="customer/main/buy_now.tpl" product=$products[product]}
{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
|