magento2-pimcore-bridge
magento2-pimcore-bridge copied to clipboard
Handle update of products without categories
If the product does not have any categories set in Pimcore then the value for category_ids will be null. The count
function does not allow null as a parameter and crashes the import. Adding a simple is_iterable to the if statement solves the problem and allows products without categories to be imported.