The Best Way to Import WooCommerce Products with Custom Fields
When you import WooCommerce products with custom fields, the part you need to be most careful with is getting each detail into the right field. Say a plant supplier sends a spreadsheet with a column called “Light” that holds each plant’s sunlight needs. Your store keeps that same detail in a custom field named light_needs, and that name, called the field’s key, is what your product page looks for. If the import saves the sunlight values under “Light” instead, the products are still created, but their sunlight details never show up on the page.
WP All Import imports WooCommerce products and their custom field values from one file in a single run, saving each column under whichever key you pick. Its Automatic Setup maps the file’s titles, SKUs, prices, and categories the moment it’s uploaded. Below, we import that plant catalog with each value saved under the right key, then look at how those custom field values get displayed on the product page.
What We’ll Cover
Find the Custom Field Keys Before You Import
Before we import WooCommerce products with custom fields, we make a short list that pairs each column in the file with the key of the custom field it should fill. For our plant catalog, that list looks like this:
| Column in the supplier’s file | Custom field key in our store |
|---|---|
| Light | light_needs |
| Water every | watering_interval |
| Max height (cm) | mature_height_cm |
| Min temp + Max temp | hardiness_range |
The keys in the right-hand column have to match your store exactly to ensure they work, so we copy each one from where the field was set up instead of typing it from memory:
- ACF: the field’s Field Name in its field group
- Meta Box: the field’s ID
- JetEngine: the meta field’s Name/ID
- Fields added by hand or by theme code: the Custom Fields box on the product edit screen, switched on under Screen Options. Keys that start with an underscore are hidden there, and ACF removes the box by default.
WP All Export helps when you’re not sure how a field was set up. It lists every custom field key that at least one published WooCommerce product uses under Available Data › Custom Fields, so exporting a single plant shows each key beside a real value.

We’ll put the finished list to work once the file is in WP All Import.
Import WooCommerce Products and Their Custom Fields in One Run
You’ll need WP All Import and its WooCommerce Import Add-On active for this. The supplier’s file goes in exactly as it arrived, column names included.
Step 1: Upload the Product File to Automatic Setup
Go to All Import › New Import and click Set up automatically at the top of the page.

Upload your file on the Upload File tab. The other tabs cover files stored somewhere else, and Automatic Setup accepts CSV, XML, JSON, TXT, ZIP and GZ files up to 256MB. On the next screen, choose WooCommerce, then Products, and click Start Automatic Setup. You can leave Add Setup Instructions empty.

WP All Import’s Automatic Setup matches the file’s columns to WooCommerce product fields without any dragging. Before anything runs, the Your Import Is Ready screen reports how many fields it mapped and how many products are ready to import. Click Manual Setup to add the custom fields.

Step 2: Add Your Custom Field Keys in Manual Setup
Manual Setup opens with every Automatic Setup mapping already in place, so nothing from Step 1 needs to be redone. A few of those mappings do need changing. Column names like “Light” and “Water every” read like product details, so Automatic Setup set them up as attributes, and “Max height (cm)” went into WooCommerce’s shipping height. In the WooCommerce Add-On section, delete the attribute rows for the columns on your list, then clear the Height box on the Shipping tab.
Next, open the Custom Fields section, where each row pairs a key with a column:
- Type light_needs in the Name box.
- Drag the Light column from the file preview into the Value box, or type {light[1]}.
- Click Add Custom Field and repeat this for every other key on your list.
WP All Import saves each value under the exact name in the Name box, and it creates that custom field on every imported product if your store doesn’t use it yet.

A single value box can also hold more than one column.
When every row is filled in, click Continue at the bottom of the page to open Import Settings.
Step 3: Run the Import and Read the Log
Leave Import Settings as they are and click Continue. Automatic Setup has already set the SKU column as the unique identifier, which the Confirm & Run screen lists in its summary, so re-running this import later updates the same plants instead of adding copies. Click Confirm & Run Import.

The Custom Fields box isn’t always available on the product screen, so the import log is the quickest place to check your keys. WP All Import writes a log line for every custom field it saves, and a line like Custom field watering_interval will be updated with value 10 days for post Lavender Hidcote tells you which key each value went under.

Importing ACF, Meta Box, and JetEngine Product Fields
If our sunlight field had been built with ACF instead of added as a plain custom field, it would still import in the same run, just not through the Custom Fields rows from Step 2. ACF keeps a hidden reference beside every value that links it to the field’s settings. Meta Box and JetEngine also store some values in formats of their own.
WP All Import imports each of these plugins’ fields through a dedicated add-on, which adds a section for that plugin to Manual Setup:
- ACF: the free ACF Import Add-On covers basic fields such as text and numbers. The Pro version adds repeaters, galleries, relationships and every other ACF field type.
- Meta Box: the Meta Box add-on handles upload and key-value fields as well as the simple ones, as Meta Box’s own import guide shows.
- JetEngine: the JetEngine Import Add-On supports every JetEngine field, map fields included, and runs alongside WP All Import Pro. Automatic Setup lists these fields in their own JetEngine Add-On group on the Your Import Is Ready screen.
WP All Import writes ACF, Meta Box and JetEngine values in each plugin’s own format, so they work in the plugin’s settings and your WooCommerce product templates as soon as the import finishes.
Every ACF field leaves two entries in the database. The value sits under the field name, such as light_needs, and a hidden entry under _light_needs holds the field’s key, which is how ACF finds the field’s settings. When a value arrives without that second entry, ACF functions that look the field up by name can come back empty, even though the value is in the database. Mapping the column to its field in WP All Import’s ACF section ties the value to that ACF field.
light_needsThe value, e.g. Full sun_light_needsThe ACF field key, e.g. field_64f1a2b3c4d5eShow Imported Custom Fields on Your WooCommerce Product Pages
Every plant in our catalog now has its sunlight, watering, height, and hardiness details saved, yet the WooCommerce product pages look the same as they did before the import. The standard product template doesn’t display custom field values, so each one needs a spot in your own template.
In Breakdance, that spot is a text element that uses a custom field as its dynamic data source. The same setting can add text before the value and show a fallback when a product doesn’t have one. That means light_needs can read “Sunlight: Full sun” on a sun-loving plant’s page, with “Ask us” showing for any plant the supplier left blank.
WP All Import saves imported values as standard WordPress custom fields, so Breakdance reads them the same way it reads fields entered by hand. Fields built with ACF or Meta Box come through Breakdance’s built-in ACF and Meta Box integrations.
Final Thoughts
Importing WooCommerce products with custom fields works best as one run that brings in the products and their custom field values together, with every key settled before the file is uploaded. WP All Import’s Automatic Setup maps the standard product columns on upload, and Manual Setup saves each custom field value under the exact key you type, including keys your store hasn’t used before. A short list of columns and keys is all the preparation the file needs.
Plugin-built fields take the same route through WP All Import’s ACF, Meta Box and JetEngine add-ons, which save each value in the format its plugin reads. WP All Import also keeps the finished mapping with the import, so the next file from the same supplier reuses it instead of starting from scratch. With WP All Import, the custom fields in that file go in with the rest of the product data, ready for your Breakdance product template to display.
Common Questions About Importing WooCommerce Custom Fields
What format does a CSV need for WooCommerce custom fields?
A CSV for WooCommerce custom fields needs one row per product and one column per custom field, plus a column such as SKU that identifies each product. WooCommerce’s built-in importer reads a column as a custom field only when its header is meta: followed by the key, for example meta:light_needs. WP All Import maps a column with any header to any custom field key, so the supplier’s original column names can stay as they are.
What’s the difference between product attributes and custom fields in WooCommerce?
The difference between product attributes and custom fields in WooCommerce comes down to where the data appears and what it can do. Attributes show in the product’s Additional information tab when Visible on the product page is ticked. They can also create variations, and global attributes can be used as shop filters. Custom fields sit behind the product and stay off the page until a template displays them. A descriptive column like “Light” could be either, so decide which one each column should be before you import. Our guide to importing WooCommerce products with attributes covers the attribute side.
Can I add a new custom field to products already in my store?
Yes. WP All Import adds a new custom field to products already in your store by matching each row of a file to an existing product’s SKU:
- Export your products’ SKUs and titles with WP All Export, then add a column for the new field in a spreadsheet.
- Go to All Import › New Import, click Set up automatically, upload the file, choose WooCommerce › Products, and click Manual Setup on the Your Import Is Ready screen.
- In the Custom Fields section, type the new key in the Name box and drag its column into the Value box.
- In Import Settings, tick Attempt to match to existing WooCommerce products before creating new ones, choose Custom field, and drag the SKU element into the Value box beside _sku.
- Untick Create new WooCommerce products from records newly present in your file, select Choose which data to update, untick Select All, and tick Custom Fields with the option to update only the keys in your file.
- Click Continue, then Confirm & Run Import.
Can I import WooCommerce custom fields from an XML file?
Yes. WP All Import imports WooCommerce custom fields from an XML file the same way it imports them from a CSV, with each XML element mapped to a custom field key in Manual Setup. An element such as <Light> goes into the Value box as {Light[1]}, and a value stored as an XML attribute uses an XPath expression like {./@status}. Our guide to importing WooCommerce products from an XML file covers the rest of the XML workflow.