ACSD-62481: Shopping cart remains empty even with Persistence enabled
- Topics:
- Shopping Cart
- Checkout
CREATED FOR:
- Experienced
- Admin
- Developer
The ACSD-62481 patch fixes the issue where the persistent cart feature fails when using the login pop-up during checkout because it lacks the Remember Me checkbox, causing products to disappear from the cart after signing out. This patch is available when the Quality Patches Tool (QPT) 1.1.57 is installed. The patch ID is ACSD-62481. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.8.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p1
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-p3
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
The persistent cart feature fails when using the login pop-up during checkout because it lacks the Remember Me checkbox. This causes products to disappear from the cart after signing out.
Steps to reproduce:
-
In the admin, configure the guest account and the persistent cart settings as follows:
-
Navigate to Stores > Settings > Configuration > Sales > Checkout > Checkout Options and set Allow Guest Checkout to No.
- Click Save Config.
-
Navigate to Stores > Settings > Configuration > Customers > Persistent Shopping Cart > General Options and set Enable Persistence to Yes.
-
Leave all the other settings as default, but change Clear Persistence on Sign Out to No.
- Click Save Config.
-
-
Go to Catalog > Products > Add product to add a simple product to the catalogue.
- Fill in required minimum details and ensure it is in stock.
-
On the frontend create a customer account using the main form
(../customer/account/create/)
and sign out. -
Add the product to the cart as a guest.
-
Open the mini-cart with the icon at the top right, then click View and Edit Cart.
-
Proceed to checkout.
-
Log in to the new customer account through the pop-up dialog that appears and sign out.
Expected results:
The cart retains the products of the previously logged-in user.
Actual results:
- The cart is empty.
- The pop-up login dialog does not show the Remember Me option.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.