duplicate products
-
hello,
I hope you are in safe
I just want to ask after import my XML link there is some products duplicating and change in price
how I can prevent this duplicate when import products
it’s enough to put this function in PHP functions
add_filter('wc_product_has_unique_sku', 'wpai_wc_product_has_unique_sku', 10, 3); function wpai_wc_product_has_unique_sku($sku_found, $product_id, $sku) { if ($sku_found){ // Duplicate SKU found. } return $sku_found; }
my second questions are if I have more than a supplier and each supplier has its own XML link for her products can I separate each product when I import it?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘duplicate products’ is closed to new replies.