Community Forums 

Main Content

Re:Need Help With Adding Sizes to the Cart

    Sep 12 2008 18:40:36


    Debbie Q

    Join date : 2008-09-18      Posts : 4998

    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 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>

    Debbie Q

    Mal's Support:
    GT's Forms and examples:
    Helpful java scripts:
    Shipping help documents:

    My Create-A-Book Publishing -
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.