Magento Tips & Tricks

SUPEE 7405: Cannot remove the item from Cart

After installing SUPEE 7405 patch on client site i notice cart issue. When you add a product to the cart and trying to remove it, you got “Cannot remove the item.” error.

The issue is connected to changes in app/code/core/Mage/Checkout/controllers/CartController.php

Before

After

Patch add formkey check. To fix it you need to update
[desing_package]/[theme]/template/checkout/cart/item/default.phtml

Find

Replace with

2 thoughts on “SUPEE 7405: Cannot remove the item from Cart

    • 1. try to check that you edit correct template. you can check used templates by enabling template path hints
      2. did you clear cache after fix? try to clear it. if you are using any 3rd-party cache flush it also

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.