The MDVA-34850 patch fixes the issue where the swatches are not stricken through when the inventory reaches “0” and are not visible in the Product Details Page (PDP) link to any other In-Stock swatches. The Display Out-of-Stock Products is also set to Yes in admin configuration. This patch is available when the Quality Patches Tool (QPT) 1.0.17 is installed. Please note that the issue was fixed in Adobe Commerce 2.4.3.
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-premises and Adobe Commerce on cloud infrastructure 2.3.1 - 2.4.2
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 Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.
Out-of-Stock Product options do not display on the PDP page when the default inventory stock is not in use and Display Out-of-Stock Products configuration is enabled.
Steps to reproduce:
Since the Display Out-of-Stock Products option is enabled, all three options should display. The Out-of-Stock option [S] should be disabled and crossed out. It should display 2 x of 1 option product with price = 12x2 in order details on the frontend and backend.
The Out-of-Stock option is hidden.
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 section.