Set the product type to “variable” by default in admin new product pages
问题 I'm creating a WooCommerce store with variable products only. When creating new products I always need to manually change the Product Data to Variable Product. When you have hundreds of products, this is becoming kind of a pain :) I've searched around the Internet but wasn't able to find anything... <php? // Code here ?> I'm looking for a PHP snippet to set Variable Product as default when creating new products, any ideas? 回答1: Updated - The following code will select "variable" by default on