ACP2E-4547: Admin users cannot add products to an order in the Admin…
Admin users cannot add products to an order in the Admin if those products are not assigned to the company's shared catalog. Quality patch ACP2E-4547 for magento/module-negotiable-quote-shared-catalog applies to Magento Open Source and Adobe Commerce 2.4.6-p8 to 2.4.8-p4.
- Categories
- B2B
- Components
- magento/module-negotiable-quote-shared-catalog
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.82
Issue
Admin users cannot add products to an order in the Admin if those products are not assigned to the company's shared catalog.
Steps to reproduce
1. Create a new customer group. 1. Create a new company and assign it to the newly created customer group. 1. On the Admin sidebar, go to Customers > All Customers, open the newly created company administrator, and verify that the Customer Group value matches the company's customer group. 1. On the Admin sidebar, go to Customers > All Customers and find the customer in the grid. 1. In the Action column, click Edit. In the workspace header, click Create Order. 1. On the store selector page, use the store view chooser in the upper-left corner to expand the target website or store hierarchy, and then select the store view. 1. On the Create New Order page, click Add Products By SKU. 1. Enter the SKU of a product that exists in the default catalog but is not assigned to the company's shared catalog, and then try to add the product to the order.
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.3.
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-4547. On Cloud, add ACP2E-4547 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-4547/ 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
magento/magento2-b2b-base >=1.5.0 <1.5.3
- Magento Open Source
- —
- vendor/magento/module-negotiable-quote-shared-catalog/Observer/ValidateProductsBeforeAddInQuote.php
