This page has moved to Adobe Experience League and will be redirected soon.
MDVA-30565: session cache local storage and checkout issue
MDVA-30565: session cache local storage and checkout issue
The MDVA-30565 patch solves the issue with session cache local storage and checkout. This patch is available when the Quality Patches Tool (QPT) 1.0.6 is installed.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce on cloud infrastructure 2.3.3-p1
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.3.2 - 2.3.3-p1
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches
package to the latest version and check the compatibility on the [!DNL Quality Patches Tool]: Search for patches page. Use the patch ID as a search keyword to locate the patch.
Issue
Cart items can still be seen on the cart page when a customer session times out. This causes an estimate shipping method error where no shipping methods are available for guest checkout.
Steps to reproduce:
- Enable persistent shopping cart in the Commerce Admin. (Enable Persistence = "Yes")
- Log in as a customer in the frontend. This creates the
persistent_shopping_cart
cookie and initiates a persistent session.
- Add a product into the cart.
- Wait until the frontend session gets timed out, or delete the
PHPSESSID
cookie.
- Now you are a guest user, but if you go to the cart, you can still see the product that was added as a logged-in customer.
- Remove the product from the cart, and now the cart is empty. You can see Adobe Commerce deletes the
persistent_shopping_cart
cookie in this event.
- Add a new product into the cart, and go to the cart page.
- Now in the browser console it shows
V1/guest-carts/4/estimate-shipping-methods
request now returns a 404 response with message {"message":"No such entity with %fieldName = %fieldValue","parameters":{"fieldName":"cartId","fieldValue":0}}
Expected results:
The estimate shipping method request returns correct results.
Actual results:
The estimate shipping method request fails with an error like, "Sorry, no quotes are available for this order at this time."
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
To learn more about Quality Patches Tool, refer to:
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.