MDVA-30428: Customers cannot add a product to wishlist if this product is assigned to a custom…
Customers cannot add a product to wishlist if this product is assigned to a custom inventory source. Quality patch MDVA-30428 for magento/module-catalog-inventory applies to Magento Open Source and Adobe Commerce 2.3.3 to 2.4.0-p1.
- Categories
- Inventory, Customer
- Components
- magento/module-catalog-inventory, magento/module-wishlist, magento/module-inventory-catalog
- 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-30428. On Cloud, add MDVA-30428 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-30428/ 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.3.3 <2.3.4
- Magento Open Source
- 2.3.3-p2, 2.3.3
- Adobe Commerce
- 2.3.3-p2, 2.3.3
- Patch file
- patches/os/MDVA-30445_2.3.3.patch
- vendor/magento/module-catalog-inventory/Model/ResourceModel/StockStatusFilter.php (added)
- vendor/magento/module-catalog-inventory/Model/ResourceModel/StockStatusFilterInterface.php (added)
- vendor/magento/module-catalog-inventory/etc/di.xml
- vendor/magento/module-wishlist/Helper/Data.php
- vendor/magento/module-wishlist/Model/Adminhtml/ResourceModel/Item/Product/CollectionBuilder.php (added)
- vendor/magento/module-wishlist/Model/Item/Option.php
- vendor/magento/module-wishlist/Model/ResourceModel/Item/Collection.php
- vendor/magento/module-wishlist/Model/ResourceModel/Item/Product/CollectionBuilder.php (added)
- vendor/magento/module-wishlist/Model/ResourceModel/Item/Product/CollectionBuilderInterface.php (added)
- vendor/magento/module-wishlist/Model/Wishlist.php
- vendor/magento/module-wishlist/Model/WishlistCleaner.php (added)
- vendor/magento/module-wishlist/Plugin/Helper/Product/View.php (added)
- vendor/magento/module-wishlist/Plugin/Model/ResourceModel/Product.php (added)
- vendor/magento/module-wishlist/Pricing/ConfiguredPrice/ConfigurableProduct.php
- vendor/magento/module-wishlist/etc/adminhtml/di.xml
- vendor/magento/module-wishlist/etc/di.xml
- vendor/magento/module-wishlist/etc/frontend/di.xml
magento/magento2-base >=2.3.4 <2.3.5
- Patch file
- patches/os/MDVA-31024_2.3.4-p2.patch
- vendor/magento/module-catalog-inventory/Model/ResourceModel/StockStatusFilter.php (added)
- vendor/magento/module-catalog-inventory/Model/ResourceModel/StockStatusFilterInterface.php (added)
- vendor/magento/module-catalog-inventory/etc/di.xml
- vendor/magento/module-wishlist/Model/Adminhtml/ResourceModel/Item/Product/CollectionBuilder.php (added)
- vendor/magento/module-wishlist/Model/ResourceModel/Item/Collection.php
- vendor/magento/module-wishlist/Model/ResourceModel/Item/Product/CollectionBuilder.php (added)
- vendor/magento/module-wishlist/Model/ResourceModel/Item/Product/CollectionBuilderInterface.php (added)
- vendor/magento/module-wishlist/Model/Wishlist.php
- vendor/magento/module-wishlist/etc/adminhtml/di.xml
- vendor/magento/module-wishlist/etc/di.xml
magento/magento2-base >=2.3.5 <2.3.6 || >=2.4.0 <2.4.1
- Patch file
- patches/os/MDVA-30428_2.3.5-p1.patch
- vendor/magento/module-catalog-inventory/Model/ResourceModel/StockStatusFilter.php (added)
- vendor/magento/module-catalog-inventory/Model/ResourceModel/StockStatusFilterInterface.php (added)
- vendor/magento/module-catalog-inventory/etc/di.xml
- vendor/magento/module-wishlist/Model/Adminhtml/ResourceModel/Item/Product/CollectionBuilder.php (added)
- vendor/magento/module-wishlist/Model/ResourceModel/Item/Collection.php
- vendor/magento/module-wishlist/Model/ResourceModel/Item/Product/CollectionBuilder.php (added)
- vendor/magento/module-wishlist/Model/ResourceModel/Item/Product/CollectionBuilderInterface.php (added)
- vendor/magento/module-wishlist/Model/Wishlist.php
- vendor/magento/module-wishlist/etc/adminhtml/di.xml
- vendor/magento/module-wishlist/etc/di.xml
magento/inventory-metapackage >=1.2.0 <1.2.1
- Patch file
- patches/os/MDVA-30428_1.1.5.patch
- vendor/magento/module-inventory-catalog/Model/ResourceModel/AddIsInStockFieldToCollection.php
- vendor/magento/module-inventory-catalog/Model/ResourceModel/AddIsInStockFilterToCollection.php
- vendor/magento/module-inventory-catalog/Model/ResourceModel/StockStatusFilter.php (added)
- vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/Model/ResourceModel/StockStatusFilterPlugin.php (added)
- vendor/magento/module-inventory-catalog/etc/di.xml
magento/inventory-composer-metapackage >=1.1.3 <1.1.4
- Magento Open Source
- 2.3.3-p2, 2.3.3
- Adobe Commerce
- 2.3.3-p2, 2.3.3
- Patch file
- patches/os/MDVA-30445_1.1.3.patch
- vendor/magento/module-inventory-catalog/Model/ResourceModel/AddIsInStockFieldToCollection.php
- vendor/magento/module-inventory-catalog/Model/ResourceModel/AddIsInStockFilterToCollection.php
- vendor/magento/module-inventory-catalog/Model/ResourceModel/StockStatusFilter.php (added)
- vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/Model/ResourceModel/StockStatusFilterPlugin.php (added)
- vendor/magento/module-inventory-catalog/etc/di.xml
magento/inventory-composer-metapackage >=1.1.4 <1.1.5
- Patch file
- patches/os/MDVA-31024_1.1.4.patch
- vendor/magento/module-inventory-catalog/Model/ResourceModel/AddIsInStockFieldToCollection.php
- vendor/magento/module-inventory-catalog/Model/ResourceModel/AddIsInStockFilterToCollection.php
- vendor/magento/module-inventory-catalog/etc/di.xml
- vendor/magento/module-inventory-catalog/Model/ResourceModel/StockStatusFilter.php (added)
- vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/Model/ResourceModel/StockStatusFilterPlugin.php (added)
magento/inventory-composer-metapackage >=1.1.5 <1.1.6
- Patch file
- patches/os/MDVA-30428_1.1.5.patch
- vendor/magento/module-inventory-catalog/Model/ResourceModel/AddIsInStockFieldToCollection.php
- vendor/magento/module-inventory-catalog/Model/ResourceModel/AddIsInStockFilterToCollection.php
- vendor/magento/module-inventory-catalog/Model/ResourceModel/StockStatusFilter.php (added)
- vendor/magento/module-inventory-catalog/Plugin/CatalogInventory/Model/ResourceModel/StockStatusFilterPlugin.php (added)
- vendor/magento/module-inventory-catalog/etc/di.xml
