Announcement

Collapse
No announcement yet.

removing the quantity-box-thingie on a single product page

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

    removing the quantity-box-thingie on a single product page

    ....baah...

    i want to remove the quantity option, on a single product. The price is dependent on the type of product you order, which is currently in a drop-down menu. The 'quantity' option is therefore confusing, and i would like to remove it.

    The product is within a section with another product, where i dont want to remove the quantity option.

    //rasmus landgreen, dk
    rasmus e landgreen
    Work: <a href="http://www.net4you.nu">net4you.nu</a>
    Personal: <a href="http://www.weblike.dk">weblike.dk</a>

    #2
    As far as I can see you can only control the quantity box by section, not individualy. If anyone knows how to do it individualy by product pls reply...

    Maybe this is something for the next version?

    Comment


      #3
      Copy your product template and give it a new name. Edit that template and replace

      NETQUOTEVAR:PRODUCTQUANTITY

      with

      <!-- NETQUOTEVAR:PRODUCTQUANTITY --><input type="hidden" name="Q_NETQUOTEVAR:PRODUCTREFERENCE" value="1">

      Now use that new template for any products you want to hide the quantity field on.

      Note that you can change the "1" above to a different default number.

      Norman
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        you're the man

        /rasmus landgreen, dk
        rasmus e landgreen
        Work: <a href="http://www.net4you.nu">net4you.nu</a>
        Personal: <a href="http://www.weblike.dk">weblike.dk</a>

        Comment


          #5
          Norman

          That's awesome. If it's OK with you I'll put that one in the Advanced User Guide.

          Nice to know I can learn things from this forum as well!

          Comment

          Working...
          X