Why this form doesn't post the products to the shopping cart?

Discussion in 'HTML & Website Design' started by Laszlo, Dec 22, 2005.

  1. #1
    :) I put this add to cart form on my page but it doesn't post anything to the shopping cart. It said your shopping cart is empty. I don't understand why?
    can somebody help me? Please, Please..

    <form name="productForm" action="http://www.1printer-supply.com/store/cart.php" method="POST" style="margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0;">
    > <input type="hidden" name="m" value="add">
    > <input type="hidden" name="productID" value=" T043120">
    > <input class="Form2" type="text" name="quantity" size="3" value="1">
    > <input type="image" name="imageField" src="addtocart.jpg" width="88" height="25" align="bottom" vspace="4" hspace="14"> </form>

    The productID matches the SKU number in my database.

    Thanks Laszlo.
     
    Laszlo, Dec 22, 2005 IP
  2. Shoemoney

    Shoemoney $

    Messages:
    4,474
    Likes Received:
    588
    Best Answers:
    0
    Trophy Points:
    295
    #2
    hmm adding to a cart would indicate some sort of cookie or session. Check that data and see what is going on. It could be somthing simple like you dont have the right cookie path set.

    Im just taking a wild stab though its really hard to guess with the limited amount of data you are supplying.
     
    Shoemoney, Dec 22, 2005 IP