Community Forums 

Main Content

code help

    Oct 19 2008 10:34:16



    Join date : 2008-09-18      Posts : 137

    I have this code here below and when it is added to the cart it works fine however the first line in the cart I want it to have no quantity but just show the words
    I have January or whatever month is selected. how is this done.

    <form action=""; method="post" target="_blank">
    <input name="userid" type="hidden" value="D939432" />
    <input name="return" type="hidden" value=""; />

    <td><u><b>Software DVD</b></u></td>
    <td><font size="2">Month I have</font></td>
    <input type="hidden" value="1" name="qty1">

    <select name="productpr1">
    <option selected value="">Select your Month</option>
    <option value="I Have January ">January </option>
    <option value="I Have February ">February</option>
    <option value="I Have March ">March</option>
    <option value="I Have April ">April</option>


    <td><font size="2">Month I want</font></td>
    <input type="hidden" value="1" name="qty2">

    <select name="productpr2">
    <option selected value="">Select your Month</option>
    <option value="I want January :9.00">January -$9.00</option>
    <option value="I want February :9.00">February -$9.00</option>
    <option value="I want March :9.00">Mar -$9.00</option>
    <option value="I want April :9.00">April -$9.00</option>

    <select name="qty2">
    <option VALUE="0">0</option>
    <option VALUE="1">1</option>
    <option VALUE="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option VALUE="5">5</option>
    <option VALUE="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option VALUE="9">9</option>
    <option value="10">10</option>

    <td><td colspan="2" align="centre">
    <input type="image" src="images/cart.gif" alt="Add to Cart" /></td>