Community Forums 

Main Content

Remove Quanity Box and Continue Shopping

    May 13 2016 15:20:45

    #1

    myapaws

    Join date : 2016-05-13      Posts : 3

    I am stuck. I have tried to change my code to suggestions and nothing still works. I need to remove the quantity box and the continue shopping..

    Here is the code for my add to cart button: Any help would be appreciated.

    </select>
    Please put quantity (1) in this field:<input type="text" name="qty1" size="2">
    <input type="submit" value="Add to Cart"></p>
    <input type="hidden" name="return" value="www.midwestfishtournaments.com/action.php">;



    May 13 2016 18:41:29

    #2

    GT

    Join date : 2008-09-18      Posts : 3207

    Remove the return link to remove the continue shopping at the cart link...

    <input type="hidden" name="return" value="www.midwestfishtournaments.com/action.php">;;

    If you do not want a text / qty box at the cart, add a line to your form...

    noqty The syntax of: 'noqty=1' puts a qty number in the cart, 'noqty=2' puts a checkbox so the item can be removed and 'noqty=3' puts a checkbox and a number. With all of these, you should have a syntax of 'qty=number' to send the value to the cart.

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.




    May 14 2016 00:26:51

    #3

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    If the customers can only enter 1 for qty why not make that a hidden field and make it easier and less problems? <input type="hidden" name="qty1" value="1"> Then you can remove all that extra instruction 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.




    May 16 2016 13:15:02

    #4

    myapaws

    Join date : 2016-05-13      Posts : 3

    Debbie Q said If the customers can only enter 1 for qty why not make that a hidden field and make it easier and less problems? <input type="hidden" name="qty1" value="1"> Then you can remove all that extra instruction text.

    I tried this but it did nothing. Any ideas what I could be doing wrong?



    May 16 2016 13:47:11

    #5

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    Replace this <input type="text" name="qty1" size="2">

    with this <input type="hidden" name="qty1" value="1">

    and make sure you update and save the page.

    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.




    May 23 2016 13:59:39

    #6

    myapaws

    Join date : 2016-05-13      Posts : 3

    Debbie Q said Replace this <input type="text" name="qty1" size="2">

    with this <input type="hidden" name="qty1" value="1">

    and make sure you update and save the page.


    Thank you for helping. I have done this and it takes away the quantity box from my page but not the shopping cart of Mals? Any suggestions



    May 23 2016 15:11:41

    #7

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    I was telling you how to remove it on your website. GT was telling you how to remove the qty box in the cart. These options are as close as you can get to removing it from the cart.

    If you do not want a qty box in the cart add a noqty field to your product code on your website. <input type="hidden" name="noqty1" value="1">

    'noqty=1' puts a qty number in the cart,
    'noqty=2' puts a checkbox so the item can be removed,
    'noqty=3' puts a checkbox and a number.

    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.




    May 23 2016 15:15:05

    #8

    Geoff

    Join date : 2008-09-18      Posts : 415

    Read GT's reply to your original post.

    Edit: Crossed with Debbie Q