• Resolved shopmaster

    (@serdarozbilen)


    Hello,

    I added this code to functions.php
    add_filter( 'wc_product_has_unique_sku', '__return_false', PHP_INT_MAX );
    It works for manuel adding products. But when we use Product Import by CSV, it doesn’t work.
    Yes I read all old topics and no solution.

    I tried with “Update existing products” option selected or not selected. Doesn’t work both of them.
    If I select, it fails for dupliace SKU’s. If I dont select, it skips same SKU’s
    So, no way to import products with same SKU

    Any other solution ?

    • This topic was modified 2 years, 10 months ago by shopmaster.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @serdarozbilen

    Please temporarily comment out the code that is added to functions.php and then try importing with Update existing products ON. Please let us know how it goes.

    In your reply please share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    We haven’t heard back from you in a while, so I’m marking this thread as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wc_product_has_unique_sku Doesn’t Work On CSV Product Import’ is closed to new replies.