QUALITY PATCH

ACP2E-5005: The quantity of a bundle product option in a negotiable quote reverts to its previous…

The quantity of a bundle product option in a negotiable quote reverts to its previous value when you reconfigure the bundle product in the Admin and then edit the line item quantity. Quality patch ACP2E-5005 for magento/module-negotiable-quote applies to Magento Open Source and Adobe Commerce 2.4.6-p8 to 2.4.9. Adobe lists the fix as scheduled for 1.5.4.

Source: Adobe Experience League

Categories
B2B
Components
magento/module-negotiable-quote, magento/module-negotiable-quote-template
Origin
adobe-commerce-support
Since QPT
1.1.84

Issue

The quantity of a bundle product option in a negotiable quote reverts to its previous value when you reconfigure the bundle product in the Admin and then edit the line item quantity.

Steps to reproduce

1. On the Admin sidebar, go to Stores > Settings > Configuration > General > B2B Features. Set Enable Company and Enable B2B Quote to Yes. 1. Create a company account and set a password for its company administrator. 1. Create two simple products. 1. Create a bundle product and assign the simple products to different bundle options. In the Bundle Items section, add at least two options using the Drop-down or Radio buttons input type, and select the User Defined checkbox for each bundle item. 1. Sign in to the storefront as the company administrator. 1. Add the bundle product to the cart multiple times, using different option configurations. 1. Go to the shopping cart and click Request a Quote. 1. On the Admin sidebar, go to Sales > Quotes and open the quote. 1. In the bundle product line item, select Configure. In the configuration dialog, change the individual option quantities, leave the line item quantity unchanged, and click OK. 1. In the Items Quoted section, update the Qty values for the bundle line items. 1. Click Update Prices, then click Proceed to confirm the update.

Adobe's page lists 1.5.0 - 1.5.3 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.

Adobe scheduled the permanent fix for 1.5.4.

Install

Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACP2E-5005. On Cloud, add ACP2E-5005 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACP2E-5005/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.

Patch files and compatible versions

Packages across compatible versions (2): magento/module-negotiable-quote, magento/module-negotiable-quote-template

magento/magento2-b2b-base >=1.5.0 <1.5.4

Magento Open Source
—
Adobe Commerce
2.4.9, 2.4.8-p5, 2.4.8-p4, 2.4.8-p3, 2.4.8-p2, 2.4.8-p1, 2.4.8, 2.4.7-p10, 2.4.7-p9, 2.4.7-p8, 2.4.7-p7, 2.4.7-p6, 2.4.7-p5, 2.4.7-p4, 2.4.7-p3, 2.4.6-p15, 2.4.6-p14, 2.4.6-p13, 2.4.6-p12, 2.4.6-p11, 2.4.6-p10, 2.4.6-p9, 2.4.6-p8
Patch file
patches/commerce/ACP2E-5006_B2B-1.5.2-p5.patch
  • vendor/magento/module-negotiable-quote/view/adminhtml/web/js/quote/quote-management.js
  • vendor/magento/module-negotiable-quote-template/view/adminhtml/web/js/items-grid/columns/qty-input.js

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.