Hi @saens,
WooCommerce already has an integrated duplication feature which handles a lot of Product features that Duplicate Post does not support (e.g. variable products).
Almost all the WooCommerce+Duplicate Post users actually don’t enable Duplicate Post for Products (you had to do it in the settings) but use the WooCommerce feature which is there out-of-the-box and can’t be disabled.
Many people don’t know about that and report to us any problem WooCommerce’s duplication feature might have, while Duplicate Post is actually not involved because it’s not enabled for Products.
Actually if you enabled Duplicate Post for WC Products you’d see the links to create copies twice, which is very misleading because it wasn’t clear which one you were going to use (whethere WooCommerce or Duplicate Post).
If for any reason somebody wants to enable Duplicate Post and use that for products, they can use the new filter duplicate_post_enabled_post_types
by adding to their theme’s functions.php
a code snippet like the following one:
function mytheme_add_product( $post_list ) {
$post_list[] = 'product';
return $post_list;
}
add_filter('duplicate_post_enabled_post_types', 'mytheme_add_product');
I hope this explains the reasoning behind our choice,
thank you for your post that made us possible to explain that!