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

NightFire 02-14-2008 02:22 AM

Buy now button
 
Hi Guys,

Just tried to activate a buy now button on my product pages. In products.tpl (not product.tpl).
Only the problem is, not only a buy now buttons is appearing, but also a drop down list next to it, which make my layout really messed up.
Is there a way to just show a buy now button, without a quantity dropdown list, assuming a customer only needs to add one product to the cart, instead of more.

Thanks.

balinor 02-14-2008 04:17 AM

Re: Buy now button
 
Yea, you need to edit the buy_now.tpl and swap out the quantity drop-down for a hidden tag with a quantity of one.

NightFire 02-14-2008 04:35 AM

Re: Buy now button
 
Thanks Padraic,

Always helpful. Really have to get back into the forums, after being out for half a year :s. Life can get sometimes way too busy.
I'll copy the buy_now button and add it as a separate one, to keep a backup of the original in case of.


All times are GMT -8. The time now is 09:34 AM.

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