I have added a same simple product with custom options in all three views and getting

Please specify the product required option(s).

upon adding to cart in one of them. What could be the reason as all are using same controller?


The issue was in addtocart.phtml in its template ;)

The solution was changing

<button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->helper('checkout/cart')->getAddUrl($_product) ?>')"><span><span><?php echo $buttonTitle ?></span></span></button>


<button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
  • @versedi I tried to mark it but it did not let me (18 hours later I'll try again) – Zinat Aug 12 '16 at 15:00
  • 1
    @7ochem I completed the solution ;) – Zinat Aug 15 '16 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.