akeneo / magento2-connector-community

Akeneo Connector for Magento 2
Open Software License 3.0
80 stars 87 forks source link

Only fill completeness when we have products #692

Closed hylke94 closed 2 weeks ago

hylke94 commented 1 month ago

The $finalProducts is always set, it is set to an empty array before the loop. The if after the loop needs to check is the array is empty instead, just like the if check for $completeness below it.