This page has moved to Adobe Experience League and will be redirected soon.
MDVA-31343 patch: schedule update removes body class for category
MDVA-31343 patch: schedule update removes body class for category
MDVA-31343 patch fixes the issue where the assigned layout body CSS class for a category gets removed during scheduled update. This patch is available when the Quality Patches Tool (QPT) 1.0.7 is installed. The issue is scheduled to be fixed in Adobe Commerce 2.4.2.
Affected products and versions
The patch is created for Adobe Commerce version:
Adobe Commerce on cloud infrastructure 2.3.5-p2
Compatible with Adobe Commerce versions:
Adobe Commerce on cloud infrastructure and Adobe Commerce on-premises 2.3.4 - 2.3.5-p2
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
Layout body class gets removed from the category after scheduled update.
Steps to reproduce :
In the Commerce Admin, create a category.
Set Layout = Category -- Full width in the Design section.
Save the category.
Go to category frontend page. In the page source notice the
page-layout-category-full-width
CSS class.
Under CATALOG > Category , click Schedule New Update in the Scheduled Changes section for the new category.
Wait for the scheduled update to start, run cron and flush cache.
Go to the category page on the frontend and inspect the page source.
Expected results :
In the page body, you see the
page-layout-category-full-width
CSS class.
Actual results :
In the page body, you see the
page-layout-2columns-left
CSS class, which is default for the category page.
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 the Patches available in QPT in our developer documentation.
Was this article helpful?
Yes
No
0 out of 0 found this helpful