IsProductSalable/AreProdustsSalable composite products support.
Open
@novikor is already working on this.
Since Nov 15, 2020.
Progress: PR created
- Dominant language
- PHP
- Stars
- 357
- Forks
- 262
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.