I created the product just like I would any other product with several options. I then copied the form code found on that product's page, to the Shipping Page at checkout.
I'm able to get the form to display on the shipping info page without a problem. However, when I choose an option and click the "Add To Cart" button, I get the following warning displayed in the Cart Module :
Code: Select all
Notice: Undefined index: product_id in /catalog/controller/module/cart.php on line 118Notice: Undefined index: quantity in /catalog/controller/module/cart.php on line 118
Code: Select all
<form action="http://mysite.com/index.php?route=checkout/cart" method="post" enctype="multipart/form-data" id="product">
<select name="option[432]">
<option value="1084">Option 1</option>
<option value="1085">Option 2</option>
<option value="1086">Option 3</option>
<option value="1087">Option 4</option>
</select>
<a id="add_to_cart" class="button">
<span>Add to Cart</span>
</a>
<input type="hidden" name="product_id" value="580">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="redirect" value="http://mysite.com/index.php?route=product/product&product_id=580">
</form>
Also, I don't know if this matters, but I'm using OC 1.4.9.4.
Any help would be appreciated!!