1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Duplicate groups and fields when duplicating products
  1. Home
  2. Knowledge Base
  3. Groups
  4. Duplicate groups and fields when duplicating products
  1. Home
  2. Knowledge Base
  3. Advanced
  4. Duplicate groups and fields when duplicating products

Duplicate groups and fields when duplicating products

By default, when you duplicate a product, the new product will use the same group and fields as the original product. This can cause difficulties if you want to be able to edit the new product’s groups and fields without affecting the original product’s groups and fields.

If you’d like to create duplicate groups and fields when you duplicate a product, which can be edited without affecting the original group and field, then just add the following snippet:

<?php
/**
* Duplicate groups and fields when duplicating products
*/
add_filter( 'pewc_duplicate_fields', '__return_true' );

Was this article helpful?

Need More Support?

If you can't find the answer that you're looking for, then please use the link below to raise a support ticket.
Contact Support

Related Articles