Community Forums 

Main Content

Code Help for add.cfm

    Apr 21 2014 14:52:16



    Join date : 2008-09-23      Posts : 77

    I have normally used pulldown menus for the carts I've made, but on this next one there will be one item with a series of options in radio buttons as well as some text fields. I can't believe I can't figure this out, but how do I take the page below and just have it add Nature Stocking to the cart along with the added options?

    Apr 21 2014 15:24:23


    Debbie Q

    Join date : 2008-09-18      Posts : 4998

    Remove this: <input type="hidden" name="qty1" value="1">
    <select name="productpr" size="1">
    <option value="Nature Stocking:53.50">Nature Stocking</option>

    Replace with this:
    <INPUT TYPE="HIDDEN" NAME="product[]" VALUE="Nature Stocking">
    <INPUT TYPE="HIDDEN" NAME="price" VALUE="53.00">

    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.