Community Forums 

Main Content

Cart - No QTY & No Remove Button, or Products Linked together

    Apr 19 2016 16:20:19

    #1

    B Dill

    Join date : 2011-10-26      Posts : 11

    We have a situation where we don't want a customer to remove the main item in the shopping cart without the 2nd item in the cart being removed at the same time, somehow linked together. As in, one item is the main item and the other is an accessory, which would be meanness to order without the 1st item.

    I know this is not your normal situation, but does anyone have any ideas?

    I was thinking a workaround may be to disable the QTY and Remove button in the cart, but there seems to be no way to do that in V2, or in the v2_advancedship_template.htm template.



    Apr 19 2016 16:50:52

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    No way to link them in the cart but you could have them added together before they go into the cart so they are one product. There is a script on GT's page that is listed in my footer.

    If you just want to disable the qty you can add a field in your product code called "noqty" There are three possible values:

    noqty=1 the cart displays the number as text
    noqty=2 displays a checkbox so the item can still be deleted
    noqty=3 displays a checkbox and a quantity in text

    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.