Community Forums 

Main Content

Re:adding the same product multiple times

    Dec 29 2008 21:21:09



    Join date : 2008-09-18      Posts : 418

    If I understand your question correctly, then as far as I know, the cart will always add a separate line on successive additions of the same item, rather than increment the quantity...

    ...except when using the field "discountpr" which is designed to apply a discount to a product bought in quantity. You can use this as a workaround without actually applying a discount by just specifying one price point, for example -

    <form action=""; method="post">
    <input type="hidden" name="userid" value="XXXXXXXX">
    <input type="hidden" name="discountpr" value="1,9.99">
    <input type="hidden" name="product" value="Widget">
    <input type="submit" value="Add to Cart">
    </form> for more on quantity discounts