WooCommerce CSV Import for Variable Products: Keep Parent and Variation Links Intact
Based on WooCommerce’s native Product CSV Importer and Exporter documentation checked October 23, 2026. We have not used WooCommerce, imported products or inspected a store.
For supplier CSV imports into WooCommerce, preserve the existing product IDs or SKUs, create explicit parent and variation rows, and keep attribute values consistent between them. WooCommerce’s native import guide says to normalize supplier files and check a small sample before the full catalog. Start with an export of the products you intend to update.
Use the native importer’s schema, not a supplier’s assumptions
WooCommerce includes a built-in CSV tool for importing, exporting and bulk-updating products. Its guide distinguishes that tool from the premium Product CSV Import Suite extension. The instructions here concern the native route under Products > All Products, not a promise about extension-specific fields or paid features.
The supplier-file preparation section warns that suppliers can use different column names, identifiers and attribute formats. A file opening successfully in a spreadsheet does not resolve those differences. Compare its fields with an export from the destination store before deciding which columns to rename or transform.
WooCommerce says an exported CSV already follows the required schema. For updates, its preparation instructions recommend exporting existing products to confirm column names and identifiers. Keep that original export separately as a reference, then prepare a new working CSV rather than overwriting the only copy of the starting data.
Also follow WooCommerce’s separate backup and staging advice before a substantial import. Treat the product export as a reference for this task, not as a replacement for that backup step. The documentation asks for both preparation and a small import check; it does not say a readable file guarantees preservation.
Match the existing product before changing its fields
WooCommerce matches update rows by ID or SKU. When repeating an import, keep those identifiers stable and select Update existing products for the records that should change. A supplier’s revised title is not one of the matching keys named in that instruction.
Do not populate the ID column with a supplier’s product number merely because both values are called IDs. The schema identifies ID as an existing WooCommerce product to update and says a supplied unmatched ID is skipped. It also says a new product cannot be assigned a specific post ID during import.
Editorial recommendation: maintain a separate cross-reference between supplier identifiers and the destination’s IDs or SKUs if they differ. Preserve the existing destination identity while transforming supplier fields. This follows the documented matching rules without assuming a supplier’s identifier belongs in every WooCommerce identifier column.
The current guide also describes Global Unique ID matching in WooCommerce 11.2 and later, through the mapped GTIN, UPC, EAN, or ISBN column. It applies only when both ID and SKU are blank. A supplied ID or SKU takes precedence even when it fails to match.
That version-specific alternative is not a fallback for a mistyped SKU. WooCommerce explicitly says it does not then fall back to Global Unique ID. The matching column defaults to Do not import. Select GTIN, UPC, EAN, or ISBN in the mapping dropdown rather than assuming a barcode-like value will be recognized automatically.
The Global Unique ID schema entry adds a type restriction. If a supplied Type differs from the matched product’s type, the row fails instead of changing that type. A blank Type does not trigger this check. Use ID or SKU, not Global Unique ID matching, for the simple-to-variable conversion below.
An unmatched Global Unique ID does not generally create a product during an update import. The schema allows an exception for an eligible new variation when ID and SKU are blank. Do not treat a barcode column as permission to create every unmatched supplier row.
Build a parent row and a row for each variation
WooCommerce’s supplier preparation instructions specify a parent row with Type set to variable, the parent SKU or ID, and the complete set of attribute values. Each child row has Type set to variation, its own identity, a Parent reference, and matching attribute values.
Using the SKU-based route, give every variation its own unique SKU. For new variations, leave ID empty as the conversion instructions specify. A shared parent SKU identifies the product family; repeating it as every child’s SKU would not meet the guide’s requirement for unique variation SKUs.
In the Parent field, the schema accepts the parent’s SKU or its existing product ID prefixed with id:. The prefix belongs to an ID reference in that relationship field. Do not add it to an ordinary SKU or confuse the relationship field with the row’s own ID.
| Column | Parent versus variation |
|---|---|
| Type | Parent: variable. Child: variation. The values distinguish the product family from its selectable item. |
| SKU | Use a stable parent SKU and a unique SKU for each variation in a SKU-based workflow. |
| Parent | The variation references the parent SKU, or an existing parent ID prefixed with id:. |
| Attribute 1 name | Use the same attribute name on the related parent and variation rows. |
| Attribute 1 value(s) | Parent: available values. Variation: the value identifying that variation for this attribute. |
| Attribute 1 global | Choose whether the attribute is local or an already configured global attribute. |
Before importing, inspect whether every intended child points to the intended parent. WooCommerce’s troubleshooting instructions specifically identify Parent, Type, variation SKUs and attribute values as checks when the variation structure fails. Correct the relationship in the file rather than trying to repair it through product titles.
Normalize attribute values without erasing product differences
WooCommerce tells readers to remove leading and trailing whitespace, use consistent capitalization and map synonyms to a chosen value. It gives L, l and Large as a normalization example. Keep the same spelling on parent and variation rows after choosing the store’s intended label.
Editorial caution: normalize labels only after confirming they describe the same supplier option. The documented synonym example is formatting guidance, not evidence that different suppliers’ size labels represent identical dimensions. Preserve distinctions that change the item instead of collapsing them to make the spreadsheet look uniform.
The Attribute 1 value(s) schema entry says a variation should have a single value for that attribute. If several values are supplied, WooCommerce uses the first. An empty variation value means any value for that attribute. A blank is therefore not a harmless substitute for an unresolved option.
WooCommerce’s conversion instructions use Attribute 1 global set to 0 for a local product attribute or 1 for a global attribute already configured in the store. They use Attribute 1 visible set to 1. These are documented schema values, not arbitrary example quantities.
For additional attributes, the schema says to add numbered columns and states that WooCommerce sets “Used for variations” automatically. Review the resulting product’s attributes and variations after import. A correctly named column is necessary preparation, not proof that every intended child was created.
Choose the import sequence for existing simple products
WooCommerce documents a conversion from an existing simple product to a variable product. Keep the existing product row, change its Type to variable, add its attribute data, and prepare variation rows with their own SKUs and names. New variation IDs remain empty in that documented SKU-based procedure.
Starting with WooCommerce 11.1, the guide permits a single update import if the parent row appears before its variation rows. It requires the mapped SKU column, unique new variation SKUs, appropriate Parent references and matching supplied attributes. Do not apply that version-specific instruction blindly to an older installation.
If the version is earlier or row order cannot be guaranteed, the guide gives a two-import route. First import only the parent row with Update existing products selected. That changes the existing product to variable and supplies its attributes before the child rows are introduced.
Then prepare the variation-only CSV by removing the parent row from that working file. WooCommerce says to import those new variations with Update existing products unselected. They should attach through Parent. This second operation creates children; it is not the same operation as updating already existing variation records.
For an existing variable product receiving additional variations, the guide documents creation during an update import from WooCommerce 11.1. Leave each new variation’s ID blank, set Type to variation, and reference the existing variable parent through Parent. Supplied attribute names and nonempty values must match the parent’s attributes and options.
In WooCommerce 11.2 and later, the same update instructions allow a new variation to use a unique SKU or, when SKU is blank, a usable mapped Global Unique ID. The SKU schema says WooCommerce does not automatically generate a SKU for a blank CSV value.
“Update existing products” therefore does not universally exclude new variations. These are version-scoped instructions from WooCommerce’s guide, not confirmation of the version installed on your store or its extensions. Keep the SKU-based conversion above distinct from the documented Global Unique ID alternative.
Decide which columns may change the store
The native importer automatically maps recognized columns and provides a Do not import choice for columns that should be ignored. Unrecognized columns are not imported by default. Review the mapping screen rather than assuming every supplier column has found the intended destination.
Editorial recommendation: for a stock-only update, include the matching identity and only the intended stock-related fields, or explicitly ignore unrelated columns. This uses the documented column-mapping control to make the scope visible. Do not assume a blank value in a mapped field means “leave the existing value unchanged.”
The Stock schema entry makes that warning concrete: a numeric stock level enables stock management, parent gives a variation inherited stock settings, and a blank disables stock management. In stock? is a separate Boolean field. Choose the representation that matches the intended stock behavior.
The Published column also has explicit meanings: 1 is published, 0 private, -1 draft, and 2 pending review. The same schema accepts true for published and false for draft. In this field, false and 0 have different meanings. Check publication status before concluding that a missing storefront item failed to import.
For new material needing review, choose the intended nonpublic status explicitly rather than leaving the outcome implicit. That is an editorial release-control recommendation based on the Published definitions. It does not establish that every extension or store setting will hide a product in the same way.
Check the saved CSV, including commas and encoding
WooCommerce requires UTF-8 CSV and warns that spreadsheet applications can change formatting or character encoding. Its supplier-file guidance says to remove formulas, currency symbols, extra whitespace and unsupported formatting. Inspect the saved file’s values as well as the spreadsheet cells used to create it.
For a field containing a comma, the general guidelines say to enclose the value in double quotation marks. Multiple values within an import field also use commas. Preserve the distinction between a CSV field boundary and a list of values inside that field.
Category names containing literal commas have an additional rule. The comma-handling section says to escape those commas with backslashes so they remain part of the category name. Its taxonomy instructions use > between hierarchy levels and commas between separate terms. Do not apply category escaping indiscriminately to all text.
WooCommerce specifies the store’s local timezone for dates. If a supplier file includes date fields you intend to map, confirm their meaning before conversion. This is an editorial preparation check; the documentation does not certify a supplier’s timezone merely because the file has a date-shaped value.
Preserve images and metadata within the native importer’s limits
WooCommerce’s image instructions require images to be pre-uploaded or accessible online. An external URL must allow the store to download the image into its Media Library. A host may require authorization, block the request or return a webpage instead of the image itself.
For an image that fails to import, WooCommerce says to upload it to the Media Library or ask the host for a direct image URL. The guide does not specify whether an update retains or removes an existing product image when its CSV image value is missing or its URL fails.
If the image already exists in the Media Library, the guide allows its filename. The Images schema says the first listed image is the featured image. Review image order and resulting associations rather than assuming a successful text import also proves every image was retrieved correctly.
The core importer cannot add, edit or update image alt text. Keep that task outside any promise about what the supplier CSV preserves. Asking a supplier for image descriptions may help later editorial work, but it does not add an unsupported alt-text field to this native import route.
For custom product metadata, WooCommerce documents headers prefixed with meta: and an Import as meta mapping option. Its exporter can include custom metadata when that option is selected. This is support for documented product metadata, not a guarantee that arbitrary extension data will be interpreted correctly.
The guide directs extension-specific fields to the relevant extension’s documentation and says entirely new importer fields require custom code. If essential information lives outside the native schema, identify that dependency before import. Do not present the paid Import Suite as automatically included or assume it solves an unspecified field problem.
Inspect the small import before sending the remaining rows
WooCommerce’s supplier-file instructions call for backing up the store and checking a small import with a parent and variations on staging or a test site. Review the result, then open the parent to inspect variations, attributes, prices, stock and images before importing the remainder.
The import instructions locate the tool under Products > All Products, then Import. Choose the file, review column mapping and run the importer. Wait for completion without refreshing or navigating away. These are the documented actions, not actions performed by this publication.
Do not use the absence of an option from a variation’s exported Name as the only failure test. WooCommerce’s export guidance says variation names may omit attribute values under specified attribute-count and naming conditions. Inspect the explicit attribute fields and resulting product structure instead of reconstructing identity from the name alone.
If the resulting product is published with enabled, priced variations, the conversion guide says to confirm that customers can select and purchase the expected options. Keep that storefront check separate from the importer’s completion message. Completion of processing does not replace the documented product-level inspection.
Check the next update against the same identities
After inspecting the small import, export the affected records again as a comparison reference. This is an editorial check using WooCommerce’s documented export tool. Compare their IDs or SKUs, Parent references and attribute values with the intended transformation, rather than evaluating preservation only through the visible product titles.
For the next update, separate existing records from genuinely new variations before choosing the import mode. WooCommerce’s repeat-import guidance requires stable identifiers and distinguishes matching updates from eligible new child rows. Keep a reviewed file transformation that can make that distinction again, not an unexplained sequence of manual corrections.
Use skipped-row reasons instead of retrying the whole supplier file
WooCommerce says to check the import log when products are missing or skipped. Its examples include an existing SKU or ID without Update existing products selected, schema mismatches and unexpected Published values. Match the reason to the row before changing identifiers or repeating the full import.
| Symptom | First documented checks |
|---|---|
| Existing row skipped | Check matching ID or SKU and whether Update existing products was selected. |
| Children absent | Check Type, Parent, variation identity, matching attributes and applicable version or row-order requirements. The blank-SKU Global Unique ID alternative is documented for WooCommerce 11.2 and later. |
| Product not visible | Check Published before treating processing as failed. |
| Images missing | Check whether URLs return downloadable images and whether the host permits access. For a failed image, upload it to the Media Library or request a direct image URL. |
| Large file interrupted | Review server limits and split the CSV into smaller batches rather than inventing a universal safe file size. |
The large-catalog section says imports depend on server memory, upload limits and processing time. The displayed maximum upload size is set at server level. Ask the host about that limit; do not assume a limit from a different store or buy an extension on an unverified capacity promise.
For a file-type upload error, WooCommerce first says to confirm the file is saved as CSV. It then describes a server-path import alternative and contacting the hosting provider if that fails. Treat that as a hosting investigation, not a reason to disable security controls indiscriminately.
Before accepting the catalog, collect the supplier’s item and stock evidence. Keep any later supplier-order automation as a separate decision. These links answer adjacent operational questions; the native CSV reference concerns the catalog records.
Keep stable IDs and SKUs in the next supplier-file transformation. If the small import fails, correct its source file and inspect it again before adding the remaining rows. WooCommerce’s preparation guidance explicitly warns against repeatedly importing the full file before that smaller check succeeds.
Sources and check date
Primary documents checked October 23, 2026. Source dates below refer to the checks, not publication dates.
- WooCommerce: Product CSV Importer and Exporter. Checked October 23, 2026.