Skip to content

IsProductSalable/AreProdustsSalable composite products support. #3140

@novikor

Description

@novikor

Description (*)

Currently, IsProductSalable/AreProdustsSalable services do not support bundle and configurable product types.

The relevant logic should be moved from Magento\InventoryBundleProduct\Plugin\CatalogInventory\Helper\Stock\AdaptAssignStatusToProductPlugin and Magento\InventoryCatalog\Plugin\CatalogInventory\Helper\Stock\AdaptAssignStatusToProductPlugin

Expected behavior (*)

IsProductSalable/AreProdustsSalable services DO support bundle and configurable product types.

Benefits

  • Performance improvements: it makes us able to use indexed salability status instead of calculating it each time after a product is loaded;
  • Service Contracts are working as expected, - and support all the product types.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions