ACP2E-4593: Wrong Website Restriction CMS page is served on the secondary website in multi-website storefronts
The ACP2E-4593 patch fixes the issue where the wrong Website Restriction CMS page is served on the secondary website storefront in multi-website setups because the landing page cache key is not scoped per website. This patch is available when the Quality Patches Tool (QPT) 1.1.82 is installed. The patch ID is ACP2E-4593. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.10.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.5-p15
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.5 - 2.4.9
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 wrong Website Restriction CMS page is served on the secondary website storefront in multi-website setups because the landing page cache key is not scoped per website.
Prerequisites:
Inventory is installed.
Steps to reproduce:
- Create two websites.
- Create two CMS pages, add different text to each page in the content section, and assign each page to a different website.
- Enable website restrictions and configure a landing page for its corresponding website.
- Ensure that caching is enabled.
- Open the storefront for the first website and verify the displayed landing page content.
- Open the storefront for the second website and observe that it still displays the landing page content from the first website.
Expected results:
Each website displays its respective CMS page correctly on the storefront.
Actual results:
Both websites display the same CMS page, which is the page that was accessed first.
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