Skip to main content
All CollectionsWooCommerce
Enabling duplicate SKUs support within WooCommerce
Enabling duplicate SKUs support within WooCommerce
James avatar
Written by James
Updated over 3 years ago

WooCommerce enforces unique SKUs by default but you can disable this check by adding the following line to your functions.php file

add_filter( 'wc_product_has_unique_sku', '__return_false', PHP_INT_MAX );

Once this has been added, WooCommerce should now allow you to create multiple products with the same SKU.

Did this answer your question?