1

On www.napitdirect.co.uk (running Magento 1.9.2.1 - which we are unable to update unfortunately) we are sometimes unable to remove products or even alter the quantity in the shopping cart. It's not a consistent issue so it's difficult to diagnose but does happen regularly.

The issue can occur after adding any product to the cart and results in the message "cannot remove the item" so my first thought was that it was related to the SUPEE 7405 patch issues (https://community.magento.com/t5/Security-Patches/SUPEE-7405-Cannot-remove-the-item-from-Cart/td-p/27126) but it doesn't seem to relate to form_key and it's not a consistent issue as indicated in everything else I can find (though happens regularly enough to be a problem!)

We've tried clearing local cache, web cache, tested server status, tested different devices and IPs, but there isn't an obvious cause or fix and I can't find anything about it online.

Anyone else experience anything like this? Any fixes or ideas?

0

i think its the form action url. its refering to wrong link. try to do this: go to your cart.phtml /app/design/frontend/theme/default/template/checkout/cart.phtml.

then change:

<form action="<?php echo $this->getFormActionUrl() ?>" method="post">
<?php echo $this->getBlockHtml('formkey'); ?>

to that:

<form action="http://www.napitdirect.co.uk/checkout/cart/updatePost/" method="post"><?php echo $this->getBlockHtml('formkey'); ?>

Tell me if its sorted now.

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.