Magento 2.3.0 and onwards supports multiple warehouse inventory. This functionality deprecated a lot of the original "stock" interfaces (although magento internally still depends on these interfaces and their implementations).
As is the export module has no support for the new inventory system, branch
issue/inventory-compat
is intended to provide support for it.
The point is that if you use the new inventory system the tweakwise export module can export products which should not be exported. The reason is that the export module still thinks those products are in stock while the new inventory module marks them as not salable.
Since a lot of changes have been introduced in this branch we thought it would be wise to document this in an issue on github. If anybody needs support for this feature or experiences issues with the export in combination with the new inventory implementation he or she could try to test said branch and check if that resolves their issue.
There is still support for the old implementation, the stock export resolves a stock map provider based on several criteria
Magento 2.3.0 and onwards supports multiple warehouse inventory. This functionality deprecated a lot of the original "stock" interfaces (although magento internally still depends on these interfaces and their implementations).
As is the export module has no support for the new inventory system, branch
issue/inventory-compat
is intended to provide support for it.The point is that if you use the new inventory system the tweakwise export module can export products which should not be exported. The reason is that the export module still thinks those products are in stock while the new inventory module marks them as not salable.
Since a lot of changes have been introduced in this branch we thought it would be wise to document this in an issue on github. If anybody needs support for this feature or experiences issues with the export in combination with the new inventory implementation he or she could try to test said branch and check if that resolves their issue.
There is still support for the old implementation, the stock export resolves a stock map provider based on several criteria
The new implementation is defined by the sourceItemMapProvider. Perhaps this should be configurable?
Here is the PR https://github.com/EmicoEcommerce/Magento2TweakwiseExport/pull/74
BC breaks: class AbstractDecorator has been removed (it only provided utility methods) the methods it holds have been moved to a seperate model.
If anyone has any comments feel free to add them!
With kind regards