{"data":{"id":"ACSD-66301","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where moving products from an order back to the cart in the Admin results in quantity mismatch.","categories":["Order/Checkout"],"components":["magento/module-sales"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-67/acsd-66301-order-to-cart-quantity-mismatch","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-67/acsd-66301-order-to-cart-quantity-mismatch.md","blobSha":"26c0cd9117eed18f5118fbb60a261810cdaa2d53","description":"Moving products from an order back to the cart in the Commerce Admin results in quantity mismatch.","stepsToReproduce":"1. Create a user through the storefront. 2. Add a product to the shopping cart with quantity = 5. 3. Go to the Admin panel and open the user account where the product was added. 4. Click Create Order. 5. In the left panel, you can view customer's activities, including the product and quantity added. 6. Add the product to the order. 7. Update the quantity = 4 in the main order section. 8. Click Update Items and Quantities button. 9. Transfer the selected items from the order back to the customer's shopping cart.","introducedInQpt":"1.1.67","createdFor":["2.4.6-p10","2.4.7-p4"],"documentedRange":"2.4.6-p9 - 2.4.6-p11, 2.4.7-p4 - 2.4.7-p6","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.6-p9 <2.4.6-p13","path":"patches/os/ACSD-66301_2.4.6-p10.patch","blobSha":"866ffddbb800524da9809664c29e5fa60ec7fa42","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-66301_2.4.6-p10.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales/Block/Adminhtml/Order/Create/Sidebar/Cart.php","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/Model/AdminOrder/Create.php","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/i18n/en_US.csv","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/view/adminhtml/templates/order/create/sidebar/items.phtml","change":"modified","package":"magento/module-sales"}],"packages":["magento/module-sales"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9"],"magento-commerce":["2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.7-p4 <2.4.7-p8","path":"patches/os/ACSD-64155_2.4.7-p4.patch","blobSha":"c751c8583056f69e6d16edad79e9492209576ddd","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-64155_2.4.7-p4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales/Block/Adminhtml/Order/Create/Sidebar/Cart.php","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/Model/AdminOrder/Create.php","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/i18n/en_US.csv","change":"modified","package":"magento/module-sales"},{"path":"vendor/magento/module-sales/view/adminhtml/templates/order/create/sidebar/items.phtml","change":"modified","package":"magento/module-sales"}],"packages":["magento/module-sales"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4"],"magento-commerce":["2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9"],"magento-commerce":["2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-66301 details"}