| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Removing Quantity Box in Products_t.tpl? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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.
__________________
Young Reinette: What do monsters have nightmares about? The Doctor: Me! X-Cart Gold 4.1.10 X-Cart Gold 4.2 Mac OS X 10.5.7 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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.
__________________
Young Reinette: What do monsters have nightmares about? The Doctor: Me! X-Cart Gold 4.1.10 X-Cart Gold 4.2 Mac OS X 10.5.7 |
|||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#4
|
|||||||
|
|||||||
![]() 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:
__________________
Young Reinette: What do monsters have nightmares about? The Doctor: Me! X-Cart Gold 4.1.10 X-Cart Gold 4.2 Mac OS X 10.5.7 |
|||||||
#5
|
|||||||
|
|||||||
![]() 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...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|