ACP2E-5034: B2B item discounts don’t reduce dynamic-price bundle subtotals in negotiable quotes
The ACP2E-5034 patch fixes the issue where negotiable quote management incorrectly resets totals to zero when recalculating a quote after selecting a shipping method, discards updates to bundle product option quantities made through the Configure action in the Admin, and doesn’t correctly reflect item-level discounts applied to dynamic price bundle products in quote subtotals. This patch is available when the Quality Patches Tool (QPT) 1.1.84 is installed. The patch ID is ACP2E-5034. 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-p5
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) B2B >=1.5.0 <1.5.3
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
Negotiable quote management incorrectly resets totals to zero when recalculating a quote after selecting a shipping method, discards updates to bundle product option quantities made through the Configure action in the Admin, and doesn’t correctly reflect item-level discounts applied to dynamic price bundle products in quote subtotals.
Prerequisites:
B2B is installed.
Steps to reproduce:
- Set Admin > Stores > Settings > Configuration > General > B2B Features. Set Enable Company = Yes. Set Enable B2B Quote = Yes.
- In Admin, go to Customers > Companies, click Add New Company, create an active company account, and click Save.
- Have the company administrator set a password from the welcome email.
- In Admin, go to Catalog > Products, and create at least two simple products.
- In Admin, go to Catalog > Products, then choose Bundle Product from the Add Product menu. Set Dynamic Price = Yes, add at least two bundle options with a different simple product in each option, and select User Defined for each bundle item’s quantity.
- On the storefront, sign in as the company administrator, and add the dynamic-price bundle product to the cart at least twice with different option configurations.
- In the cart, click Request a Quote, complete the Add your comment and Quote Name fields, and click Request a Quote to submit the quote.
- In Admin, go to Sales > Quotes and, in the Actions column for the quote, click View.
- In Items Quoted, click Configure for one bundle item, change the bundle option quantities and item quantity, and click OK.
- Click Update Prices, then click Proceed.
- For the same item, open the Action menu and select Discount item, choose a fixed-amount discount, enter the amount, and click Confirm.
- Click Add to Quote, then click Update Prices and click Proceed.
Expected results:
- The configured dynamic-price bundle quote item retains the updated option and item quantities.
- The fixed item-level discount is applied to the bundle item and reduces the Subtotal and Subtotal (Excluding Tax) values.
Actual results:
The fixed discount appears in the Discount column, but it doesn’t reduce the dynamic-price bundle item’s Subtotal or Subtotal (Excluding Tax) values after the quantities are updated.
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