| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Removing the Quantity Drop Down | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Removing the Quantity Drop Down
Is there any way that I can remove the quantity drop down selection box? I don't need a quantity for my products. I would like to completely remove it. Thanks
__________________
Never believe anything you hear and only half of what you see! Edward J Ziejka www.innervisionpc.com X-Cart Gold 4.1.3 Unix |
|||||||
#2
|
|||||||||
|
|||||||||
What are you saying EZ I sell quantities greater than 1 all the time and I'm in the same field.
You can however limit the quantities ordered in General Settings > Appearance options Oh, and you can send them to me if they need more than one
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#3
|
|||||||
|
|||||||
?
I knew I wouldn't get a straight answer! LOL it's for another site I am working on for Web Hosting (people only order one plan at a time) Thanks
__________________
Never believe anything you hear and only half of what you see! Edward J Ziejka www.innervisionpc.com X-Cart Gold 4.1.3 Unix |
|||||||
#4
|
|||||||||
|
|||||||||
Actually it's the best answer I can come up with. It appears in so many places in x-cart you might have a formidable task in front of you.
I do feel however, that it would best be handled by making the field hidden instead of removing it.
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#5
|
|||||||
|
|||||||
Hidden?
Hidden, would that be an easy task?
__________________
Never believe anything you hear and only half of what you see! Edward J Ziejka www.innervisionpc.com X-Cart Gold 4.1.3 Unix |
|||||||
#6
|
|||||||
|
|||||||
Change:
Code:
to: Code:
type="hidden" hides the form element, but still submits its value to the back-end. value="1" tells the back-end you want a single item of the product. |
|||||||
#7
|
|||||||
|
|||||||
File?
What file do I have to edit? Thanks
__________________
Never believe anything you hear and only half of what you see! Edward J Ziejka www.innervisionpc.com X-Cart Gold 4.1.3 Unix |
|||||||
#8
|
|||||||
|
|||||||
duh, sorry! I should have included that, my bad.
it's in <x-cart directory>/store/skin1/customer/main/product.tpl |
|||||||
#9
|
|||||||
|
|||||||
Thanks
Thanks
__________________
Never believe anything you hear and only half of what you see! Edward J Ziejka www.innervisionpc.com X-Cart Gold 4.1.3 Unix |
|||||||
#10
|
|||||||
|
|||||||
Anybody know how edit product.tpl to replace the dropdown with a text box that verifies the presence of a number? I don't want Xcart to cough up an error if someone tries to enter letters.
Thanks! |
|||||||
|
|||
X-Cart forums © 2001-2020
|