Community Forums 

Main Content

View Cart not working right

    Sep 25 2008 21:12:14



    Join date : 2008-09-23      Posts : 77

    My view cart isn't working right. Hitting that button puts another item in the cart.
    Wha't wrong with my code?

    <form action=""; method="POST">
    <div align="center">
    <input type="hidden" name="return" value="">; <input type="hidden" name="userid" value="C8205112"> <input type="hidden" name="tax" value="6"> <select name="productpr" size="1">
    <option value="#1114M Forget Me Not:18:1">#1114M Forget Me Not - $18.00</option>
    <option value="2200M Maple Leaf:18:1">2200M Maple Leaf - $18.00</option>
    <option value="1112M Snow at Lane:18:1">1112M Snow at Lane - $18.00</option>
    <option value="#1077M Wood Pile:18:1">1077M Wood Pile - $18.00</option>
    <option value="#1026M Tons O Tulips:18:1">#1026M Tons O Tulips - $18.00</option>
    <option value="#1022M Eggs in 1 Basket:18:1">#1022M Eggs in 1 Basket Vase - $18.00</option></select><br>
    <p><input type="submit" value="Add to Cart">&nbsp;&nbsp;</p>
    <p align="center"><input type="reset" value="Reset"><br></p>
    <p align="center">
    <div align="center">
    <INPUT TYPE="HIDDEN" NAME="userid" VALUE="C8205112">
    <INPUT TYPE="SUBMIT" VALUE="View Cart"></div></p></p>

    Sep 26 2008 09:31:03


    Mal Stewart

    Join date : 2008-09-18      Posts : 135

    That bit of HTML looks OK but you need a closing </form> tag on the review cart button.

    Mal's E-commerce Ltd

    Sep 27 2008 14:57:13


    Ron Redmond

    Join date :      Posts : 0