[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACSD-69325: Modifying the SKU case caused the product to appear out-of-stock on the storefront

The ACSD-69325 patch fixes the issue where changing a product SKU to use lowercase characters causes the product to be displayed as out of stock on the storefront. This patch is available when the Quality Patches Tool (QPT) 1.1.76 is installed. The patch ID is ACSD-69325. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.8-p3

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.7 - 2.4.8-p3
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 Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

When the SKU is modified to include lowercase letters, the product incorrectly appears as out of stock on the storefront.

Steps to reproduce:

  1. Log in to the Admin panel.
  2. Create an additional website, store, and store view by navigating to Stores > All Stores.
  3. Create a sales channel for the new website by navigating to Channels > Sales Channels.
  4. Create a product assigned to the new website with SKU = ‘RF-42R-80X100-CL’, and assign it to the sales channel.
  5. Run the indexers by executing php bin/magento indexer:reindex and ensure scheduled tasks (cron) are running.
  6. Open the product page on the storefront.
  7. Verify that product is In Stock.
  8. Update the SKU to RF-42R-80x100-CL (using a lowercase x).
  9. Run the indexers by executing php bin/magento indexer:reindex and ensure scheduled tasks (cron) are running.
  10. Open the product page on the storefront.
  11. Verify the product stock status.

Expected results:

The product remains In Stock on the storefront.

Actual results:

The product is displayed as Out of Stock on the storefront.

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:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3