Announcement

Collapse
No announcement yet.

select quantity

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

    select quantity

    Hi All

    I'd like my customers to chose the quantity they require from a drop down list of say 1 - 20 with an 'Add' button under the drop down list Positioned at the end of each product line.

    Any ideas?

    Many thanks in advance :-)

    Neil
    Neil Bosley
    The Ink Depot
    http://www.theinkdepot.co.uk
    nb@theinkdepot.co.uk

    #2
    Replace NETQUOTEVAR:PRODUCTQUANTITY (in your Product Template(s) e.g. Act_productLine.html) with
    Code:
    <!--NETQUOTEVAR:PRODUCTQUANTITY-->
    Quantity: <select name="Q_NETQUTEVAR:PRODUCTREFERENCE">
    <option value="0">0</option>
    <option value="1">1</option>
    <option value="2">2</option>
    .
    .
    .
    </select>
    As to the layout, that's a matter of moving things around in the Product Template.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hi Norman

      I'm very rusty, it's been a long while since I did any work on the site and fro some reason i just cant get that to work. We have custom product templates with the following code in the quantity column:

      NETQUOTEVAR:PRODUCTQUANTITY
      NETQUOTEVAR:CARTERRORXML
      NETQUOTEVAR:TEMPLATEENDXML
      NETQUOTEVAR:PRODUCTFORMEND

      NETQUOTEVAR:PRODUCTQUANTITY
      NETQUOTEVAR:CARTERRORXML
      NETQUOTEVAR:TEMPLATEENDXML NETQUOTEVAR:PRODUCTFORMENDNETQUOTEVAR:NEXT

      Tried pasting the code you recommended inpace of NETQUOTEVAR:PRODUCTQUANTITY but didnt seem to work.

      Sorry if i'm being dense.

      Neil
      Neil Bosley
      The Ink Depot
      http://www.theinkdepot.co.uk
      nb@theinkdepot.co.uk

      Comment


        #4
        Ooops. I spelled

        Quantity: <select name="Q_NETQUOTEVAR:PRODUCTREFERENCE">

        wrong above. Use this line instead. You may also want to leave off the <option value="0">0</option> line (unless you're using the Single Add to Cart per page), in which case it's mandatory.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          This is what's visible when i preview the pages after pasting in that code Norman...

          <!---->
          Quantity: <select name="Q_511">
          <option value="0">0</option>
          <option value="1">1</option>
          <option value="2">2</option>
          </select>

          Once again, sorry it has been a while!

          Neil
          Neil Bosley
          The Ink Depot
          http://www.theinkdepot.co.uk
          nb@theinkdepot.co.uk

          Comment


            #6
            That should produce a drop down box. It does here. Don't you see it?
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Its showing the code as text with no box...it'll be me doing something wrong! there's Act_ProductLine.hmtl, Act_ProductLine1.hmtl. Act_ProductLine2.hmtl, Act_ProductLine3.hmtl, Act_ProductLine4.hmtl plus the 3 custom product templates and i havent got a clue whats calling on what!

              Appreciate your help Norman!

              Neil
              Neil Bosley
              The Ink Depot
              http://www.theinkdepot.co.uk
              nb@theinkdepot.co.uk

              Comment


                #8
                Eh! The only way it would do that is if you put it in the Product Description, rather than inside the Product Template.

                Without seeing your page online it's extremely difficult to help further.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Just did an update so you can see what i mean Norman...this link shows you how the select quantity is normally set up: http://www.theinkdepot.co.uk/acatalo...00_710_97.html

                  and this is whats happening when i add the code for the drop down box: http://www.theinkdepot.co.uk/acatalo...KJET__130.html

                  Neil
                  Neil Bosley
                  The Ink Depot
                  http://www.theinkdepot.co.uk
                  nb@theinkdepot.co.uk

                  Comment


                    #10
                    This is some sort of typing or copy / pasting error. You have to REPLACE NETQUOTEVAR:PRODUCTQUANTITY

                    with all of the below. Use a text editor like Notepad to do this. Copy this text into the clipboard - highlight all of NETQUOTEVAR:PRODUCTQUANTITY and click Edit / Paste (or hit control/V).

                    Code:
                    <!--NETQUOTEVAR:PRODUCTQUANTITY-->
                    Quantity: <select name="Q_NETQUOTEVAR:PRODUCTREFERENCE">
                    <option value="0">0</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    .
                    .
                    .
                    </select>
                    You seem to be using a wordprocessor or an HTML editor that is converting the characters as you paste them in. Use good ol' Notepad.

                    PS Your Options don't have to be 1,2,3.... You can have 1,2,3,10,25,50.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      Hi Norman...sorry for not getting back to you last night but sat down for 5mins and the next thing i knew it was 6am!

                      Works GREAT now!!! forgot all about using notepad, was using DW!

                      A massive thank you!!!!!

                      Cheers

                      Neil
                      Neil Bosley
                      The Ink Depot
                      http://www.theinkdepot.co.uk
                      nb@theinkdepot.co.uk

                      Comment


                        #12
                        DW would do the job but you have to pase it into the Code View window not the Design one.
                        Norman - www.drillpine.biz
                        Edinburgh, U K / Bitez, Turkey

                        Comment


                          #13
                          ah...thanks again for the excellent help & advice Norman

                          I'd forgotten just HOW much 'fun' Actinic is - lol

                          Cheers

                          Neil
                          Neil Bosley
                          The Ink Depot
                          http://www.theinkdepot.co.uk
                          nb@theinkdepot.co.uk

                          Comment

                          Working...
                          X