-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Magento 2.3 - MSI support for stock checks #2310
Comments
Related to: #2295 |
To solve this task we should modify:
The thing is, that all the business logic above operates on Magento-like Stock object which is synced with
The What we need is to modify the I mean - the Note: if the product is configurable - then the same stock object but for the simple products should be rendered to Moreover, we could extend |
I'll try to work on this |
Hello, We'll start working on a proof of concept soon. If anyone has suggestions/concerns, feel free to comment on the document or here. |
Thanks! Great job with the analysis document, looks great. Looking forward for the PoC. Please note that we’re also checking the stock options per configurable child and filter out unavailable variants. It’s done runtime (thru vsapi and then direct call to magento to get the current t stock); not in the mage2vs / it’s the only way to make sure that the product is in stock / not relying on the Elastic / cached stock information which probably isn’t accurate and synced For the main configurable product we should just “emulate” the stock / setting the product to “is_in_stock” if at least one child is available. |
Hello @pkarw if I get it well, data pumping will be soon replaced by the native Vue Storefront Magento2 Indexer. According to this change, is it ok for us to work on integrating MSI on it rather than on the (deprecated?) Data Pump? Let us know, meanwhile we're working on vue-storefront-api. |
Dear Allesandro, our official production recommendation currently is mage2vuestorefront - so I believe we should add MSI support to it first. I'm adding URL routing currently - and also the first place is m2vs :) We need few more weeks (maybe months) to make If You think it would be easier for You to work on bridge natively there is then an option to add the support to Let me know which way You'd like to proceed? If You add the logic to native indexer first then probably we'll just copy it to m2vs anyway :) |
hello @pkarw no problem, we'll go on working on m2vs as well, thanks for sharing the roadmap |
Done with: vuestorefront/vue-storefront-api#226 Waiting for final changes to mage2vuestorefront + magento2-vsbridge-indexer |
|
What is the motivation for adding / enhancing this feature?
With Magento 2.3 there is MSI module included for managing the stocks.
We should add support for it to
mage2vuestorefront
https://devdocs.magento.com/redoc/2.3/admin-rest-api.html#operation/inventorySourceSelectionApiSourceSelectionServiceV1ExecutePost
What are the acceptance criteria
Can you complete this feature request by yourself?
Additional information
The text was updated successfully, but these errors were encountered: