ÃÛ¶¹ÊÓƵ

ACSD-55339: Resolving SKU trimming issue in negotiable quotes for ÃÛ¶¹ÊÓƵ Commerce

The ACSD-55339 patch fixes the issue where product SKUs with leading zeros are trimmed, resulting in errors during the negotiation process. This patch is available when the Quality Patches Tool (QPT) 1.1.56 is installed. The patch ID is ACSD-55339. Please note that the issue is scheduled to be fixed in ÃÛ¶¹ÊÓƵ Commerce B2B 1.5.0.

Affected products and versions

The patch is created for ÃÛ¶¹ÊÓƵ Commerce version:

ÃÛ¶¹ÊÓƵ Commerce (all deployment methods) 2.4.5-p1

Compatible with ÃÛ¶¹ÊÓƵ Commerce versions:

ÃÛ¶¹ÊÓƵ Commerce (all deployment methods) 2.4.4 - 2.4.7-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 ÃÛ¶¹ÊÓƵ 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

Numeric product SKUs with leading zeros are trimmed when used in negotiable quotes, resulting in errors that prevent updating quantities or setting prices.

Steps to reproduce:

  1. Navigate to the product creation section in the admin panel.

  2. Set the SKU for the product as 01910.

  3. Log in to the storefront and perform the following operations:

    1. Add product to the cart.
    2. View and edit the cart.
    3. Request a quote.
  4. Go to admin > Quote > View and Add Products by SKU - 01910.

Note: The SKU is displayed as 1910 instead of 01910. This discrepancy prevents the user from updating the quantity or setting prices, as no product with the SKU 1910 exists in the catalog.

Expected results:

The negotiable quote should be updated successfully without any errors.

Actual results:

A warning message is displayed indicating that the product does not exist.

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