How to export fields and import somewhere else
Advanced Product Fields for WooCommerce has a few built-in ways to export fields and configuration to other places in your site, or even another website. In this article, we’ll cover all available methods:
- Exporting per-product fields
- Importing per-product fields
- Exporting a global field group
- Importing a global field group
- Exporting all field groups
- Importing all field groups into another website
- Please also read: important notes
Exporting per-product fields
If you’ve created fields directly on your WooCommerce product via the Edit Product screen, you can export those easily. On the Edit Product screen, navigate to the Custom fields section and click the Export button at the top:

A popup appears with the export code you can copy.

You can import the fields into another product via the same way. Navigate to the Custom fields sections on your product, but this time click the Import button. Paste the code into the text box and click Import.
Note that importing fields and configuration will overwrite previous data.
Importing per-product fields
Similar to the export, you can import the fields on a single WooCommerce product. To do this, edit your product and navigate to the Custom fields section and click the Import button at the top:

A popup appears where you can paste previously exported fields. Click Import and the tool will notify you of success or failure.
Publish or update your product to save the imported fields.
Exporting a single global field group
Exporting field groups (created via WooCommerce → Product Fields) works in a similar way. Go to the product field group you’d like to export and find the Export button in the sidebar:

You can import your data into another field group, or even a single product if you want.
Importing a single global field group
To import fields to a new global field group, go to WooCommerce → Product Fields and create a new field group. Give your group a name and click the Import button on the right side of the screen:

A popup appears where you can paste previously exported fields. Click Import and the tool will notify you of success or failure.
Publish or update your field group to save the imported fields.
Exporting all field groups
When you are working on a staging/test site, you may want to export all field groups (created via WooCommerce → Product Fields) in one go and import them into your new website. This can be done through WordPress’s built in way to export & import posts or pages.
In your WordPress admin dashboard, navigate to Tools → Export. Select Product Field Groups and click Download Export File.

Importing into another website
To import the field groups into another WordPress website, navigate to Tools → Import. If you haven’t installed the default WordPress importer yet, click Install Now:

Once installed, click Run Importer. On the next screen, upload the exported file and click Upload file and import. WordPress will ask you to assign an author for the data.
Important notes
Please read the notes below carefully to understand some of the boundaries and limitations of exporting and importing:
- If you import data into individual field groups or products, you will lose all previously created fields and configuration. In other words, the import overwrites the data that is already there.
- When you are importing image swatches or other image fields into another website, please note that the images are not downloaded into your other website. You will have to upload those yourself and link them again to the fields.