![]() |
Removing Quantity Box in Products_t.tpl?
Can someone please help me remove the quantity box in the products_t.tpl? The method for 4.0 doesn't really work in 4.1.
EDIT: I can either remove the box and have ERRORS and no "buy it now" button or have both the box and the button. Thank you in advance. |
Re: Removing Quantity Box in Products_t.tpl?
I also wanted to add a "buy now" button to the related prducts, but when ever I do, the buy now button just becomes a link to the product and the maths stop working.
Any help is greatly appreciated. Thanks. |
Re: Removing Quantity Box in Products_t.tpl?
You may try to apply the technique used in this post:
http://forum.x-cart.com/showthread.php?p=196619#post196619 The code will not be the same, but the technique will apply. (that is, use a hidden input tag, pre-defined with value="1") That's how I would do it. |
Re: Removing Quantity Box in Products_t.tpl?
Thanks Carpeperdiem, but none of that post makes sense to me. I want to remove the quantity box on all products in the products_t.tpl. I tried using a similar mod with "<input type="hidden" name="amount" value="1">" but it doesn't really work.
Quote:
|
Re: Removing Quantity Box in Products_t.tpl?
Quote:
if you identify the code in products_t.tpl that makes the qty, then you're golden. I am on deadline now, or else I'd figure it out for you. Keep plugging away at it... |
All times are GMT -8. The time now is 06:00 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.