Announcement

Collapse
No announcement yet.

Qty Input as Drop Down Choice

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Qty Input as Drop Down Choice

    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....

    #2
    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...

    Comment


      #3
      Try this. Go to Design / Text / Phase -1 ID 2173 and replace

      Code:
      %s<INPUT TYPE=text NAME="%s" SIZE="%d" VALUE="%d">
      with

      Code:
      %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
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment

      Working...
      X