Community Forums 

Main Content

8 rows of products - only need qty of 1 in cart

    Sep 02 2008 18:48:28

    #1

    Don Barrow

    Join date : 2008-09-18      Posts : 487

    Although I don't like the new format of the Forum, I am having to use it.

    How do I go about getting 8 products (which have been selected from 8 arrays into my shopping cart and only showing a quantity of 1.

    Any help greatly appreciated.

    DB.

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook




    Sep 02 2008 21:15:06

    #2

    Alan

    Join date : 2008-09-18      Posts : 21

    From an array of products the user may only select 1 and it should go to the cart with a qty of 1?

    And this is repeated so that you finish up with 8 products in the cart each with a quantity of 1?

    If you have named radio buttons, one name for each array, the user would be limited to one product per array.





    You might want to use noqty in an attempt to control quantities in the cart.



    Sep 02 2008 21:20:35

    #3

    Alan

    Join date : 2008-09-18      Posts : 21

    Not sure what happened there - some statements were lost. I



    Sep 02 2008 21:23:16

    #4

    Alan

    Join date : 2008-09-18      Posts : 21

    Wasting time for both of us! Final attempt (three lines follow)

    input type="hidden" name="qty1" value="1"
    input type="radio" name="productpr1" value="array1prod1:6.25" /
    input type="radio" name="productpr1" value="array1prod2:5.50" /



    Sep 03 2008 09:03:20

    #5

    Don

    Join date : 2008-09-18      Posts : 487

    Hi,

    This is what I am after, as per this website, - http://www.babycottonbottoms.com/fuzzibunzbulk.htm - just tick a few boxes for a bulk order, it lists each product on a separate line in the cart, but only has a Qyt of 1, I need to be able to use this with Arrays and Text Boxes.

    I have had a look at the source code, but it is such a poor layout it

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook




    Sep 03 2008 14:40:14

    #6

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    Maybe this script of GT's would work?

    http://www.tne.co.uk/2006/mals/different-color-choice.html

    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.




    Sep 03 2008 21:16:48

    #7

    Maida Carpio Scott

    Join date : 2008-09-18      Posts : 24

    Hi,

    This is what I am after, as per this website, - http://www.babycottonbottoms.com/fuzzibunzbulk.htm - just tick a few boxes for a bulk order, it lists each product on a separate line in the cart, but only has a Qyt of 1, I need to be able to use this with Arrays and Text Boxes.

    I have had a look at the source code, but it is such a poor layout it


    ...it what?

    Be nice, I wrote that script - LOL! ;)

    It



    Sep 03 2008 21:17:38

    #8

    Maida Carpio Scott

    Join date : 2008-09-18      Posts : 24

    That's weird - I lost half my reply after I previewed my post...

    Hi,

    This is what I am after, as per this website, - http://www.babycottonbottoms.com/fuzzibunzbulk.htm - just tick a few boxes for a bulk order, it lists each product on a separate line in the cart, but only has a Qyt of 1, I need to be able to use this with Arrays and Text Boxes.

    I have had a look at the source code, but it is such a poor layout it


    ...it what?

    Be nice, I wrote that script - LOL! ;)

    It's a FrontPage website, so I had to work around that mess of a layout myself.

    It is basically a more elaborate version of the script that Deb put a link to.

    I did another version of it for MA! motherhood with attitude - http://www.motherhoodwithattitude.com/cards/byonotecards.php



    Sep 03 2008 22:59:30

    #9

    Don

    Join date : 2008-09-18      Posts : 487

    Sorry - Maida Carpio Scott, no offence, I had to word it like that to hopefully get direct to you and it was successful.

    I will look at both yours and Debbies suggestions, I will post another reply if and when I succeed.

    Many thanks for your replies.

    DB.

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook