Community Forums 

Main Content

Need Help With Adding Sizes to the Cart

    Sep 11 2008 21:26:52

    #1

    WINGS

    Join date : 2008-09-18      Posts : 29

    Hello,

    I have two items (ticket registrations) in my shopping cart. I would also like to add an option for sizes, something that will look like this:

    Please indicate your size.
       Adult Male:       ___S      ___M        ___L        ___XL        ___XXL
       Adult Female:   ___S       ___M       ___L       ___XL         ___XXL

    I would like for the customer to input quantity next to each size. So for example, they may purchase 1 ticket and select 2 Adult Male Small and 1 Adult Male XL and 1 Adult Female L.

    This size option is not "attached" to any particular item I'm selling. When someone purchases any ticket (and we have two types of tickets), they should select the size of the t-shirt which comes with their order at no charge.

    Please let me know how I can do this. I have a Premium Account.

    Thank you in advance for your help!

    Anna



    Sep 12 2008 01:11:55

    #2

    tom g

    Join date : 2008-09-18      Posts : 488

    I am not sure I understand you correctly



    Sep 12 2008 04:10:35

    #3

    GT

    Join date : 2008-09-18      Posts : 3207

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

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




    Sep 12 2008 16:19:19

    #4

    bubunza

    Join date : 2008-09-18      Posts : 1

    GT,

    This is exactly what I need, I want to make a selection box that I can list types and prices in a drop down,
    I also want a fragrance drop down listing.
    where do I start?
    Thanks,
    Dianne



    Sep 12 2008 18:40:36

    #5

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    If the prices will vary with the products in the drop down menu you would use productpr for the name. productpr includes the name of the product, the price and the units all in one code. product:price:units. The scent menu which is not changing the price would be called product[]

    <select name="productpr" size="1">
    <option selected value="">Select Size</option>
    <option value="Candle 10 inch, :10.00:1">10 inch</option>
    <option value="Candle 8 inch, :8.00:1">8 inch</option>
    <option value="candle 5 inch, :5.00:1">5 inch</option>
    <option value="candle 3 inch, :3.00:1">3 inch</option>
    </select>

    <select name="product[]" size="1">
    <option selected value="">Select fragrance</option>
    <option value="Vanilla">Vanilla</option>
    <option value="Mint">Mint</option>
    <option value="Spice">Spice</option>
    </select>

    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.