QUALITY PATCH

MDVA-34665: Missing bundled products on category pages

Missing bundled products on category pages. Quality patch MDVA-34665 for magento/module-catalog-inventory applies to Magento Open Source and Adobe Commerce 2.3.4 to 2.4.2-p2.

Categories
Catalog/Product, Inventory
Components
magento/module-catalog-inventory, magento/module-elasticsearch, magento/module-customer-segment, magento/module-inventory-cache, magento/module-inventory-catalog, magento/module-inventory-indexer, magento/module-inventory-catalog-api
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-34665. On Cloud, add MDVA-34665 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-34665/ 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 (6): magento/module-catalog-inventory, magento/module-elasticsearch, magento/module-inventory-cache, magento/module-inventory-catalog, magento/module-inventory-indexer, magento/module-inventory-catalog-api
Packages across compatible versions (7): magento/module-catalog-inventory, magento/module-elasticsearch, magento/module-customer-segment, magento/module-inventory-cache, magento/module-inventory-catalog, magento/module-inventory-indexer, magento/module-inventory-catalog-api

magento/magento2-base >=2.3.4 <=2.3.4-p2

Magento Open Source
2.3.4-p2, 2.3.4-p1, 2.3.4
Adobe Commerce
2.3.4-p2, 2.3.4-p1, 2.3.4
Patch file
patches/os/MDVA-34665_2.3.4-p2_v2.patch
  • vendor/magento/module-catalog-inventory/Model/Indexer/Stock/CacheCleaner.php

magento/magento2-base >=2.3.5 <=2.3.5-p2

Magento Open Source
2.3.5-p2, 2.3.5-p1, 2.3.5
Adobe Commerce
2.3.5-p2, 2.3.5-p1, 2.3.5
Patch file
patches/os/MDVA-38535_2.3.5-p1.patch
  • vendor/magento/module-catalog-inventory/Model/Indexer/Stock/CacheCleaner.php

magento/magento2-base >=2.4.0 <2.4.2

Magento Open Source
2.4.1-p1, 2.4.1, 2.4.0-p1, 2.4.0
Adobe Commerce
2.4.1-p1, 2.4.1, 2.4.0-p1, 2.4.0
Patch file
patches/os/MDVA-37350_2.4.1.patch
  • vendor/magento/module-catalog-inventory/Model/Indexer/Stock/CacheCleaner.php

magento/magento2-base >=2.4.2 <2.4.3

Magento Open Source
2.4.2-p2, 2.4.2-p1, 2.4.2
Adobe Commerce
2.4.2-p2, 2.4.2-p1, 2.4.2
Patch file
patches/os/MDVA-39245_2.4.2.patch
  • vendor/magento/module-catalog-inventory/Model/Indexer/Stock/CacheCleaner.php
  • vendor/magento/module-elasticsearch/Model/Indexer/IndexerHandler.php

magento/magento2-ee-base >=2.3.4 <=2.3.4-p2

Magento Open Source
—
Adobe Commerce
2.3.4-p2, 2.3.4-p1, 2.3.4
Patch file
patches/commerce/MDVA-34665_2.3.4-p2_v2.patch
  • vendor/magento/module-customer-segment/Model/Layout/DepersonalizePlugin.php

magento/inventory-composer-metapackage 1.1.4

Magento Open Source
2.3.4-p2, 2.3.4-p1, 2.3.4
Adobe Commerce
2.3.4-p2, 2.3.4-p1, 2.3.4
Patch file
patches/commerce/MDVA-34665_1.1.4_v2.patch
  • vendor/magento/module-inventory-cache/Model/FlushCacheByCategoryIds.php (added)
  • vendor/magento/module-inventory-cache/Model/ResourceModel/GetProductIdsByStockIds.php (deleted)
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/Source/SourceItemIndexer/CacheFlush.php (deleted)
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/SourceItem/Strategy/Sync/CacheFlush.php (added)
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/Stock/StockIndexer/CacheFlush.php (deleted)
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/Stock/Strategy/Sync/CacheFlush.php (added)
  • vendor/magento/module-inventory-cache/etc/di.xml
  • vendor/magento/module-inventory-catalog/Plugin/InventoryIndexer/Indexer/SourceItem/PriceIndexUpdater.php (deleted)
  • vendor/magento/module-inventory-catalog/Plugin/InventoryIndexer/Indexer/SourceItem/Strategy/Sync/PriceIndexUpdater.php (added)
  • vendor/magento/module-inventory-catalog/Plugin/InventoryIndexer/Indexer/Stock/Strategy/Sync/PriceIndexUpdatePlugin.php (added)
  • vendor/magento/module-inventory-catalog/etc/di.xml
  • vendor/magento/module-inventory-indexer/Model/ResourceModel/GetCategoryIdsByProductIds.php (added)
  • vendor/magento/module-inventory-indexer/Model/ResourceModel/GetProductIdsByStockIds.php (added)
  • vendor/magento/module-inventory-indexer/etc/di.xml

magento/inventory-composer-metapackage >=1.1.5 <=1.1.5-p1

Magento Open Source
2.3.5-p2, 2.3.5-p1, 2.3.5
Adobe Commerce
2.3.5-p2, 2.3.5-p1, 2.3.5
Patch file
patches/commerce/MDVA-38535_1.1.5.patch
  • vendor/magento/module-inventory-cache/Model/FlushCacheByCategoryIds.php (added)
  • vendor/magento/module-inventory-cache/Model/ResourceModel/GetProductIdsByStockIds.php (deleted)
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/Source/SourceItemIndexer/CacheFlush.php (deleted)
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/SourceItem/Strategy/Sync/CacheFlush.php (added)
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/Stock/StockIndexer/CacheFlush.php (deleted)
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/Stock/Strategy/Sync/CacheFlush.php (added)
  • vendor/magento/module-inventory-cache/etc/di.xml
  • vendor/magento/module-inventory-catalog/Plugin/InventoryIndexer/Indexer/SourceItem/PriceIndexUpdater.php (deleted)
  • vendor/magento/module-inventory-catalog/Plugin/InventoryIndexer/Indexer/SourceItem/Strategy/Sync/PriceIndexUpdater.php (added)
  • vendor/magento/module-inventory-catalog/Plugin/InventoryIndexer/Indexer/Stock/Strategy/Sync/PriceIndexUpdatePlugin.php (added)
  • vendor/magento/module-inventory-catalog/etc/di.xml
  • vendor/magento/module-inventory-indexer/Model/ResourceModel/GetCategoryIdsByProductIds.php (added)
  • vendor/magento/module-inventory-indexer/Model/ResourceModel/GetProductIdsByStockIds.php (added)
  • vendor/magento/module-inventory-indexer/etc/di.xml

magento/inventory-metapackage >=1.2.0 <1.2.2

Magento Open Source
2.4.1-p1, 2.4.1, 2.4.0-p1, 2.4.0
Adobe Commerce
2.4.1-p1, 2.4.1, 2.4.0-p1, 2.4.0
Patch file
patches/os/MDVA-37350_1.2.1.patch
  • vendor/magento/module-inventory-cache/Model/FlushCacheByCacheTag.php (added)
  • vendor/magento/module-inventory-cache/Model/FlushCacheByProductIds.php
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/SourceItem/Strategy/Sync/CacheFlush.php
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/Stock/Strategy/Sync/CacheFlush.php
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Queue/Reservation/UpdateSalabilityStatus/CacheFlush.php
  • vendor/magento/module-inventory-cache/etc/di.xml
  • vendor/magento/module-inventory-indexer/Model/ResourceModel/GetCategoryIdsByProductIds.php (added)

magento/inventory-metapackage 1.2.2

Magento Open Source
2.4.2-p2, 2.4.2-p1, 2.4.2
Adobe Commerce
2.4.2-p2, 2.4.2-p1, 2.4.2
Patch file
patches/os/MDVA-39245_1.2.2.patch
  • vendor/magento/module-inventory-cache/Model/FlushCacheByCacheTag.php (added)
  • vendor/magento/module-inventory-cache/Model/FlushCacheByCategoryIds.php (added)
  • vendor/magento/module-inventory-cache/Model/FlushCacheByProductIds.php
  • vendor/magento/module-inventory-cache/Plugin/InventoryIndexer/Indexer/SourceItem/Strategy/Sync/CacheFlush.php
  • vendor/magento/module-inventory-cache/etc/di.xml
  • vendor/magento/module-inventory-catalog/Model/GetParentSkusOfChildrenSkus.php (added)
  • vendor/magento/module-inventory-catalog/etc/di.xml
  • vendor/magento/module-inventory-catalog-api/Model/GetParentSkusOfChildrenSkusInterface.php (added)
  • vendor/magento/module-inventory-indexer/Model/Queue/UpdateIndexSalabilityStatus.php
  • vendor/magento/module-inventory-indexer/Model/ResourceModel/GetCategoryIdsByProductIds.php (added)

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.