Closed maxserv-woostelbos closed 4 years ago
Hi the proposed change has been released in https://github.com/EmicoEcommerce/Magento2TweakwiseExport/releases/tag/v1.6.1
$qty = min(array_column($optionGroups, 'qty'));
is more robust then
$qty = min(...array_column($optionGroups, 'qty'));
Thanks for pointing that out
Since this has been fixed and released we will close this issue.
Issue Brief
We installed the new 1.6.0 version of the export to exclude "Out of stock" products from the export. When we run the export command the following error is trown:
The line contains
When we use it like below it seems to work
Environment
Steps to reproduce
Actual result
After running the command getting an error with the result there is no feed generated.
Expected result
After running the command getting a new export feed with only configurable product that are actually in stock (including check of the stock of the simple products).