Community Forums 

Main Content

Re:adding the same product multiple times

    Dec 29 2008 21:21:09

    #1

    Geoff

    Join date : 2008-09-18      Posts : 415

    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="http://wwX.aitsafe.com/cf/add.cfm"; 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>


    https://www.mals-e.com/support/tpv.php?tp=2 for more on quantity discounts