This article provides a patch for the known Magento Commerce Cloud 2.2.0 issue related to customers getting error when trying to remove twice a shopping cart item (by double-clicking the Remove link or by clicking it in different tabs).
Issue
When customers double-click the Remove link in the shopping cart, trying to remove a product from the shopping cart, they get a blank page with the following error message: "This page isn’t working. HTTP ERROR 500". The same issue happens if a customer opens two browser tabs with the shopping cart page and removes the product first in one tab, then in the second one.
Steps to reproduce:
- Add a product to shopping cart on the storefront.
- Navigate to the shopping cart page.
- Double-click the Remove link.
OR
- Add a product to shopping cart on the storefront.
- Navigate to the shopping cart page.
- Open a new browser tab and navigate to the shopping cart page (same product).
- Remove the product from the cart.
- Open the second tab and remove the product again.
Expected result:
The product is removed from the cart without errors.
Actual result:
The product is removed with the error: "This page isn’t working. HTTP ERROR 500" error message.
Patch
The patch is attached to this article. To download it, scroll down to the end of the article and click the file name, or click the following link:
Download MDVA-8623_EE_2.2.0_v1.composer.patch
Compatible Magento versions:
The patch was created for:
- Magento Commerce (Cloud) 2.2.0
The patch is also compatible (but might not solve the issue) with the following Magento versions and editions:
- Magento Commerce (Cloud) versions from 2.2.1 to 2.2.5
- Magento Commerce versions from 2.2.0 to 2.2.5
How to apply the patch
See How to apply a composer patch provided by Magento for instructions.