Auto set Woocommerce product ID as SKU on save

Question

I use the product ID as SKU on my shops. Is there a way to auto add the product ID as SKU when a new product is created.

Currently I am using a plugin for that but it adds a new row in WP_options table. I have more than 1000 rows now (with Autoload). I guess it might be having some performance impact so want to deactivate it and use code.

0
Rajat 2 years 2019-11-28T02:10:26-05:00 0 Answers 57 views 0

Leave an answer

Browse
Browse