View Full Version : Qty Input as Drop Down Choice
I-CC
27-May-2003, 10:09 PM
Hi all,
Anyone know where the code for the Qty input is generated from within, we want to change it to a drop down choice and can not find it at the moment...
Anyone any ideas?
Thanks....
I-CC
27-May-2003, 10:18 PM
By the way, I have found out one way by altering the suggestions within the Advanced User (page 21) by replacing the NETQUOTEVAR:PRODUCTQUANTITY with:
<SELECT NAME="Q_NETQUOTEVAR:PRODUCTREFERENCE" SIZE="1">
<OPTION VALUE="1">1</OPTION>
<OPTION VALUE="2">2</OPTION>
<OPTION VALUE="3">3</OPTION>
<OPTION VALUE="4">4</OPTION>
<OPTION VALUE="5">5</OPTION>
<OPTION VALUE="10">10</OPTION>
<OPTION VALUE="15">15</OPTION>
<OPTION VALUE="20">20</OPTION>
<OPTION VALUE="25">25</OPTION>
<OPTION VALUE="30">30</OPTION>
<OPTION VALUE="35">35</OPTION>
<OPTION VALUE="40">40</OPTION>
<OPTION VALUE="45">45</OPTION>
<OPTION VALUE="50">50</OPTION>
</SELECT>
But would be good to be able to set this within one template to govern all product templates we use for the site, as opposed to commenting out and inserting this code into all templates.
But the above does work, we thinksss...
NormanRouxel
27-May-2003, 11:20 PM
Try this. Go to Design / Text / Phase -1 ID 2173 and replace
%s<INPUT TYPE=text NAME="%s" SIZE="%d" VALUE="%d">
with
%s<SELECT NAME="%s">
<OPTION VALUE="1">1</OPTION>
<OPTION VALUE="2">2</OPTION>
<OPTION VALUE="3">3</OPTION>
<OPTION VALUE="4">4</OPTION>
<OPTION VALUE="5">5</OPTION>
<OPTION VALUE="10">10</OPTION>
<OPTION VALUE="15">15</OPTION>
<OPTION VALUE="20">20</OPTION>
<OPTION VALUE="25">25</OPTION>
<OPTION VALUE="30">30</OPTION>
<OPTION VALUE="35">35</OPTION>
<OPTION VALUE="40">40</OPTION>
<OPTION VALUE="45">45</OPTION>
<OPTION VALUE="50">50</OPTION>
</SELECT>
Norman
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.