Community Forums 

Main Content

Quantity in cart not working as expected

    Feb 17 2014 14:35:23

    #1

    zeni

    Join date : 2014-02-17      Posts : 4

    Hi, is there a way to have the cart add additional quantities of a product TOGETHER if added at different times, rather than list each addition as a separate product?
    IE instead of this:
    My Product 1
    My Product 1
    My Product 1
    My Product 1

    Can it do this:
    My Product 4

    I know the customer can change the quantity themselves in the cart, but sometimes a customer might go back to the product page and decide they want another or more.
    Many thanks in advance!



    Feb 17 2014 15:16:50

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    instead of using "price" use a field called discountpr. The cart will then lump together the products with the same name. <input type="hidden" name="discountpr" value="0,10.20">

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Feb 17 2014 16:32:41

    #3

    zeni

    Join date : 2014-02-17      Posts : 4

    Hi Debbie, thanks so much, it's perfect!

    (edit due to typo)