I got a problem using Magento about add to cart with custom options.
I filled up all required fields and when I hit "Add To Cart" button, It said
Please specify the product required option(s).
When I go to other products without custom options like Size or Color field. It works fine.
How can I fix this problem?
this is the link: https://francesandalbert.com/ring.html
Thanks.
Best Answer
I don't know exactly how you can solve this but I can explain the problem, maybe it helps.
I see that the product page is on
https
but when you click on the add to cart button the form is submitted tohttp://francesandalbert.com/checkout/cart/add/uenc/aHR0cDovL2ZyYW5jZXNhbmRhbGJlcnQuY29tL3JpbmcuaHRtbD9fX19TSUQ9VQ,,/product/172/
. Notice thehttp
.Then that pages does a 301 redirect to
https://{same url}
and what you send by post (the ring size) is lost.If I use firebug and change the form url to
https
I can add the product to the cart without any problems.You can try to change the submit url of the form
Mage_Catalog_Block_Product_Abstract::getSubmitUrl
or you can set the unsecure base url of your website tohttps://...
avoiding 301 redirects from htaccess.These are just my suggestions. I have no idea if they will work.