![]() |
Enable "Buy Now" Button in Products List using 2 C
Greetings Folks,
X-Cart gives us the opportunity to display a Buy Now Button in Category/Product List - but only if products are displayed as one column. Presumably the logic being that the Buy Now protocol would have an negative display-impact in multiple columns. That said, has anyone managed to display Buy Now button using two columns ? If so, would you please share the method used. With Thanks, Mike. |
Just cut and paste the buy now button code from customer/main/products.tpl to customer/main/products_t.tpl.
|
Quote:
Thanks Padraic, Would you be kind and indicate EXACTLY which part of the code from products.tpl I should remove, and where exactly should I past it in products_t.tpl. Sorry to be a pain; but I don't understand Smarty, so will probably mess things unless I have specifics. #-o Grateful Thanks, Mike. |
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 *** With this: Code:
{if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"} |
Quote:
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. |
All times are GMT -8. The time now is 10:16 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.