Second way of embedding quantity price breaks where you add the qtydisc to the cart:
<form action="http://www.cartserver.com/sc/cart.cgi" method=POST>
<input type=hidden name=item value="a-1358^widgetb^Wacky Widget B^6.32^1">
<input type=hidden name=qtydisc value="DISC:5=P.95|6=P.8|10=P.7">
<input type=image border=0 name=add src="/images/cartadd.gif">
</form>
(we added a separate hidden variable qtydisc to contain the codes.)
Note 1: Unlike the regular quantity discount system, we had to use | instead of ^ character
to avoid messing up the fields in the item variable.
Note 2: For full details on what 5=P.95 and such things mean, refer to the main
quantity discount system page, https://www.cartserver.com/sc/discount.html
Don't forget the | and ^ character difference.
Note 3: If you are using "op" variables in the price field, code a quantity discount
like this:
a-1358^thepart^Wacky Widget A^op1DISC:5=P.95|6=P.8|10=P.7^1 , or like this
a-1358^thepart^Wacky Widget A^9.99op1DISC:5=P.95|6=P.8|10=P.7^1 . Basically, go with regular
convention and keep the qty discount codes to the extreme right.