Disable SKU Checking on Woocommerce CSV import
So I’ve been trying to import some grouped products into Woocommerce, some have the same SKU codes because they fit different models of the product.
Because woocommerce doesnt allow duplicate SKU’s it needs to be bypassed/disabled by using :
add_filter( 'wc_product_has_unique_sku', '__return_false' );
However, When importing via CSV apparently that filter doesnt work and therefore when importing products it fails because of duplicate product SKU’s.
Does anyone know of a function, or even a temp way of disabling the CSV import SKU check just so we can get these products imported. Even if it means disabling something in core, importing the data and then reverting it once the data is there.