i would just like to know if there is a way in which to change the quantity input box from text to a select box. i have a predetermined number for the quantity that one might order and would not like to rely on the user inputting an amount manually. i would like them to choose from a select box as these amounts are the only options. Any help???
Announcement
Collapse
No announcement yet.
changing input type on quantity
Collapse
X
-
Hi Alison
The best way to achieve this is to use component, attribute, choices to create permutations of the product for the various quantities, i.e.
Product
- Variation (component)
-- Quantity (attribute - double click to select drop down list)
--- 1 (choice)
--- 2 (choice)
--- 3 (choice)
This will allow customers to choose the quantity from a drop down list. Then select 1 as the maximum quantity in Product Details on the General tab and select the shopping mode as 'Quantity on Confirmation Page'.
Hope this helps.Ben Popplestone
Ecommerce website software
-
You can also just change the NETQUOTEVAR:PRODUCTQUANTITY in Act_ProductLine.html to be:-
<!-- NETQUOTEVAR:PRODUCTQUANTITY -->
Quantity <select name="Q_NETQUOTEVAR:PRODUCTREFERENCE">
<option value="0" selected>0
<option value="1">1
<option value="2">2
<option value="3">3
</select>
This will mean that all products using that template will automatically have a pre set range available without any fiddling with permutations. The numbers don't have to be sequential, you could have 1,3,5,10,etc.
NormanNorman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Comment
Comment