Community Forums 

Main Content

Re:Need Help With Adding Sizes to the Cart

    Sep 12 2008 18:40:36

    #1

    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.