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
Frank-Magmodules
changed the title
Simple products associated with 2 configurables are not exported
[REQUEST] Simple products associated with 2 configurables are not exported
Feb 27, 2024
Hello @boldhedgehog, I'm happy to inform you that your request has been incorporated into our latest release. Thanks for bringing this up. I'll mark this request as closed since I believe we've addressed it to your needs. However, if you have any further questions or comments, please don't hesitate to reopen or add your thoughts to this issue immediately!
If simple products are associated with 2 configurable products, and one of them is disabled, simple products are not exported.
Example:
Simple product S is associated with configurable products A (enabled) and B (disabled).
Although, it should be exported to the feed, it is missing.
This is caused by this code:
https://github.com/magmodules/magento2-channable/blob/master/Model/Generate.php#L128
The loop first assigns
$parent
to product A, then assigns it to NULL, because B is not in the parent collection items.The correct version should be:
The text was updated successfully, but these errors were encountered: