MDVA-36253: The wrong subtotal shows in the mini cart after item deletion
The wrong subtotal shows in the mini cart after item deletion. Quality patch MDVA-36253 for magento/module-multishipping applies to Magento Open Source and Adobe Commerce 2.4.0 to 2.4.1-p1.
- Categories
- Shopping Cart
- Components
- magento/module-multishipping, magento/module-tax
- Origin
- adobe-commerce-support
No Adobe documentation page exists for this patch.
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 MDVA-36253. On Cloud, add MDVA-36253 under stage.build.QUALITY_PATCHES in .magento.env.yaml.
For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its MDVA-36253/ 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-base >=2.4.0 <=2.4.1-p1
- Patch file
- patches/os/MDVA-36253_2.4.1_v2.patch
- vendor/magento/module-multishipping/Model/Cart/CartTotalRepositoryPlugin.php
- vendor/magento/module-multishipping/Model/Cart/Controller/CartPlugin.php
- vendor/magento/module-multishipping/Model/DisableMultishipping.php (added)
- vendor/magento/module-multishipping/Observer/DisableMultishippingObserver.php (added)
- vendor/magento/module-multishipping/Plugin/DisableMultishippingMode.php
- vendor/magento/module-multishipping/etc/frontend/events.xml (added)
- vendor/magento/module-tax/Model/Sales/Total/Quote/CommonTaxCollector.php
