Friday, July 21, 2017

Magento 2 Enable Product on Import

Problem:
How to enable (or explicitly disable) a product using Magento 2 out-of-the-box product import.

Solution:
Include column product_online in the import and set values (1=enable, 0=disable) accordingly. Note that we'd expect this column to be called status instead since this is the attribute name. But adding column status instead does not work.