You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A lot of Magento shops do not require the use of MSI (multi stock inventory) and could thus speed up the installation / deployment processes, reduce the overall disk consumption and improve performance by removing the whole MSI feature (roughly 78 packages).
Unfortunately this does not work well in combination with the Smile Elasticsuite, since the latter requires the following MSI packages in its root composer.json:
magento/module-inventory-sales-api
magento/module-inventory-sales
magento/module-inventory-indexer
These packages in turn have dependencies to other MSI packages, making it extremely hard to replace MSI when a shop does not actually need it. And since not all MSI packages can be removed the benefit is not as big as it could be.
Describe the solution you'd like
I'd suggest to move MSI support to a Smile package of its own. Said package can then be replaced in case MSI is not being used and thus the whole MSI overhead can be removed from shops. Also Yireo could be notified of the existance of said package and add it to the meta-package mentioned above, making it fully compatible to a rather usual setup (Magento + Smile Elasticsuite - MSI).
Describe alternatives you've considered
None
Additional context
The following packages make use of MSI classes / interfaces:
smile/module-elasticsuite-catalog
smile/module-elasticsuite-catalog-rule
The text was updated successfully, but these errors were encountered:
we might consider doing this in a near future or to provide at least a way to have a more loose coupling on MSI.
We integrated this in the core due to the official statement of Adobe back in time which was : "MSI will replace the legacy CatalogInventory in an upcoming release". So we decided to anticipate this and 5 years later, CatalogInventory is still there and the entire Magento community is removing MSI when building a project :)
Is your feature request related to a problem? Please describe.
A lot of Magento shops do not require the use of MSI (multi stock inventory) and could thus speed up the installation / deployment processes, reduce the overall disk consumption and improve performance by removing the whole MSI feature (roughly 78 packages).
Yireo provides a neat meta-package that helps removing MSI via the
replace
feature ofcomposer
, as can be seen here: https://github.com/yireo/magento2-replace-inventoryUnfortunately this does not work well in combination with the Smile Elasticsuite, since the latter requires the following MSI packages in its root
composer.json
:magento/module-inventory-sales-api
magento/module-inventory-sales
magento/module-inventory-indexer
These packages in turn have dependencies to other MSI packages, making it extremely hard to replace MSI when a shop does not actually need it. And since not all MSI packages can be removed the benefit is not as big as it could be.
Describe the solution you'd like
I'd suggest to move MSI support to a Smile package of its own. Said package can then be replaced in case MSI is not being used and thus the whole MSI overhead can be removed from shops. Also Yireo could be notified of the existance of said package and add it to the meta-package mentioned above, making it fully compatible to a rather usual setup (Magento + Smile Elasticsuite - MSI).
Describe alternatives you've considered
None
Additional context
The following packages make use of MSI classes / interfaces:
smile/module-elasticsuite-catalog
smile/module-elasticsuite-catalog-rule
The text was updated successfully, but these errors were encountered: