How to add the ability to duplicate a SKU while displaying a warning that the SKU is duplicated in product variants in Woocommerce? I'm currently using this PHP code to add duplicate SKUs but it doesn't give me a warning
add_filter( 'wc_product_has_unique_sku', '__return_false', PHP_INT_MAX );
source https://stackoverflow.com/questions/75966911/how-to-add-the-ability-to-duplicate-skus-while-displaying-a-warning-woocommerce
No comments:
Post a Comment