I installed pathes SUPEE-7405 and SUPEE-9767 and when clicked on remove button then cant remove product on magento 1.9 and get below message:

Cannot remove the item

Please help me.

  • Can you please check logs var/log/system.log and var/log/exception.log for error messages and post results? – Tim Cieplowski Aug 2 '17 at 13:29
  • i have check logs but there is no error messge – Devidas Aug 3 '17 at 4:36
  • I found this thread, which mentions a similar issue: community.magento.com/t5/Security-Patches/…. Are you using an ajax cart extension? If so, you will need to add <?php echo $this->getBlockHtml("formkey") ?> to the template which contains the form that is used. – Tim Cieplowski Aug 3 '17 at 13:45
  • Glad to hear it! If it was the solution I mentioned, please accept answer. If it was something else, add your own answer so others can see what solved the issue. Thanks. – Tim Cieplowski Aug 5 '17 at 12:40

If you are using an ajax cart extension, you will need to add

<?php echo $this->getBlockHtml("formkey") ?>

to the extension's template(s) which contain forms which update the quote.

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.