View Single Post
  #5  
Old 07-23-2006, 04:49 AM
 
Bodger Bodger is offline
 

Advanced Member
  
Join Date: Oct 2005
Location: South Devon. UK
Posts: 65
 

Default

Quote:
Originally Posted by balinor
Actually...to make your life even easier...if you haven't altered products_t.tpl, the buy now code is already in there. Just replace this:

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

With this:

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

Works a treat ! Thank you.
Have lost "details" link though. That is: Previously the word details as a link was beside the product (not sure whether this was besides the photo or not)

Any ideas on that ?

Thank you for your kind assistance.

Mike.
__________________
Web:
X-Cart Gold 4.1.3
Apache 1.3.37 (Unix)
Linux
PHP 4.4.3
MySQL 4.1.19- standard

Home PC Dev:
X-Cart Gold 4.1.3
Uniform Server
PHP 5.1.1
MySQL server 5.0.17
MySQL client 4.1.7
Web Server Apache/2.0.55 (Win32)
Reply With Quote