ACP2E-4680: Non-salable products disappear from finalized negotiable quotes

The ACP2E-4680 patch fixes the issue where non-salable products disappear from finalized negotiable quotes. This patch is available when the Quality Patches Tool (QPT) 1.1.81 is installed. The patch ID is ACP2E-4680. Please note that this issue is scheduled to be fixed in Adobe Commerce B2B 1.5.4.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) B2B 1.5.2-p4

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) B2B >=1.5.0 <1.5.3
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 a negotiable quote is finalized, products that are no longer salable are automatically removed and no longer appear in the quote.

Prerequisites:

Adobe Commerce B2B is installed.

Steps to reproduce:

  1. On the Admin sidebar, go to Stores > Settings > Configuration > General > B2B Features. Set Enable Company to Yes and Enable B2B Quote to Yes.
  2. Create and activate a company account.
  3. Create two simple products.
  4. Log in to the storefront as the company administrator.
  5. Add both products to the shopping cart.
  6. From the shopping cart, request a quote.
  7. On the Admin sidebar, go to Sales > Quotes, open the quote, apply a discount, and click Send.
  8. On the storefront, open My Quotes, select the quote, and place the order.
  9. Verify that the quote is locked and read-only in the Admin and the storefront.
  10. On the Admin sidebar, go to Catalog > Products, open one of the simple products that was included in the quote, and delete the product.
  11. Open the quote details in both the Admin and the storefront.

Expected results:

The deleted product should remain visible in the quote in both the Admin and the storefront.

Actual results:

The deleted product is missing from the quote in both the Admin and 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
commerce-operations-help-tools