PDA

View Full Version : removing the quantity-box-thingie on a single product page


Landgreen
10-Dec-2002, 10:29 AM
....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

seanpaul
10-Dec-2002, 03:52 PM
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?

NormanRouxel
10-Dec-2002, 10:10 PM
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

Landgreen
11-Dec-2002, 07:33 AM
you're the man :D

/rasmus landgreen, dk

cdicken
11-Dec-2002, 08:46 AM
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!:)