Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Magento 2.3 - MSI support for stock checks #2310
What is the motivation for adding / enhancing this feature?
With Magento 2.3 there is MSI module included for managing the stocks.
What are the acceptance criteria
Can you complete this feature request by yourself?
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
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
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.
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 :)