Community Forums 

Main Content

View Cart not working right

    Sep 25 2008 21:12:14

    #1

    Flaggfish

    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="http://ww10.aitsafe.com/cf/add.cfm"; method="POST">
    <div align="center">
    <input type="hidden" name="return" value="www.artisanshand.com/hogan.html">; <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>
    </div>
    <p align="center"><input type="reset" value="Reset"><br></p>
    </form>
    <p align="center">
    <FORM METHOD="POST" ACTION="http://ww10.aitsafe.com/cf/review.cfm">;
    <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

    #2

    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
    http://www.mals-e.com




    Sep 27 2008 14:57:13

    #3

    Ron Redmond

    Join date :      Posts : 0

    Thanks!