AC-15223: Storefront page shows cached content after switching stores
The AC-15223 patch fixes the issue where after switching stores, the page is served from cache as the store switcher is not working. This patch is available when the Quality Patches Tool (QPT) 1.1.69 is installed. The patch ID is AC-15223. Please note that this issue is scheduled to be fixed in ÃÛ¶¹ÊÓÆµ Commerce 2.4.9.
Affected products and versions
The patch is created for ÃÛ¶¹ÊÓÆµ Commerce version:
- ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.8
Compatible with ÃÛ¶¹ÊÓÆµ Commerce versions:
- ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.8 - 2.4.8-p1
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
After switching stores, the page is served from cache (the store switcher is not working).
Steps to reproduce:
- Go to Stores > Settings > All Stores.
- Create a new store view.
- Go to the storefront, and try to switch the store views.
Expected results:
The store view switched successfully.
Actual results:
The store view name is not changed in the header until the cache is cleaned from the backend.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- ÃÛ¶¹ÊÓÆµ Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- ÃÛ¶¹ÊÓÆµ 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.