Remove Product Id Form Gtin In Datafeed

Hello,

Is any solution for this? How to export and keep blank GTIN field if no number inputted?

Thank you.

The advice of commenting out the following code in app/addons/data_feeds/func.php:

        if ($field == 'GTIN' && empty($variants)) {
            $variants[] = db_get_field(
                'SELECT product_code FROM ?:products WHERE product_id = ?i',
                $product_id
            );
        }

Is still valid and can be treated as a solution.

Thank you. Google is strict. Better to keep empty field than insert wrong number.

I’ve passed that on to the developers.