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
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:
- Log in to the Admin panel.
- Create an additional website, store, and store view by navigating to Stores > All Stores.
- Create a sales channel for the new website by navigating to Channels > Sales Channels.
- Create a product assigned to the new website with SKU = ‘RF-42R-80X100-CL’, and assign it to the sales channel.
- Run the indexers by executing
php bin/magento indexer:reindexand ensure scheduled tasks (cron) are running. - Open the product page on the storefront.
- Verify that product is In Stock.
- Update the SKU to
RF-42R-80x100-CL(using a lowercase x). - Run the indexers by executing
php bin/magento indexer:reindexand ensure scheduled tasks (cron) are running. - Open the product page on the storefront.
- 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:
- 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.