0

Getting error on all add to cart links on product listing page.

=> Please assist me. Thanks!

TheMask
  • 49
  • 2
  • 11

1 Answers1

1

It can be because of form key. You need to add following line to add form key just after form tag in give file list

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

1) For Add to cart in product view app/design/frontend/theme/package/template/catalog/product/view.phtml

2) For login & customer registration app/design/frontend/theme/package/template/persistent/customer/form/login.phtml app/design/frontend/theme/package/template/persistent/customer/form/registration.phtml

3) Update cart app/design/frontend/theme/package/template/checkout/cart.phtml

If this is fine then also possible because of new patches. Please Check: Security Patch SUPEE-10415 - Possible Issues?

https://gist.github.com/balloz/ceaf5feb5ac66caaa82342441d32aa88

Sameer Bhayani
  • 1,874
  • 19
  • 34
  • i am getting this error on product listing page. on button. – TheMask Jan 24 '18 at 07:30
  • http://www.enhgo.com/code/fix-for-broken-dentures/ May be this can help you – Sameer Bhayani Jan 24 '18 at 07:34
  • Getting same this error : https://www.queryxchange.com/q/10_208946/cannot-add-items-to-cart-view-cart-after-upgrade-to-ce-1-9-3-7/ – TheMask Jan 24 '18 at 09:31
  • yes supee 10415 creates conflict sometime https://magento.stackexchange.com/questions/203968/unsupported-data-type-n-after-patching-supee-10415 – Sameer Bhayani Jan 24 '18 at 09:38
  • Thanks @Sameer Bhayani , I have resolved this error from your below link. https://magento.stackexchange.com/questions/203567/security-patch-supee-10415-possible-issues – TheMask Jan 24 '18 at 10:44