{"id":5330972,"date":"2022-07-20T00:48:42","date_gmt":"2022-07-20T00:48:42","guid":{"rendered":"https:\/\/www.wpallimport.com\/?post_type=documentation&#038;p=5330972"},"modified":"2025-12-08T18:32:52","modified_gmt":"2025-12-08T18:32:52","slug":"import-variable-products-woocommerce","status":"publish","type":"documentation","link":"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/","title":{"rendered":"How to Import Variable Products into WooCommerce"},"content":{"rendered":"\n<p>To import variable products, go to <strong>All Import \u203a New Import<\/strong>, choose your import file, and select <strong>WooCommerce Products<\/strong> from the list. Configure your import template to include product variations and attribute data, then run the import.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Import WooCommerce Variable Products from CSV\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/Y2Q8apRDxMg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"advanced-topics\">Table of Contents<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#create-new-import\">Step 1: Create a New Product Import<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#review-variable-product-data\">Step 2: Review the Incoming Data<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#map-incoming-product-data\">Step 3: Map the Incoming Data<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#configure-variable-products-import-settings\">Step 4: Configure the Import Settings<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#run-import-verify-imported-products\">Step 5: Run and Verify the Import<\/a><\/li>\n<\/ul>\n\n\n\n<p><strong>Advanced Topics<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#import-variable-products-from-shopify\">Importing Variable Products from Shopify<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#simple-and-variable\">Importing Simple and Variable Products Simultaneously<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#set-up-excel-file\">Setting Up an Import Excel File<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#link-all-variations\">Using Link All Variations<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#stock-management-parent-variable\">Enabling Variation Stock Management<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#import-from-csv-xml-video\">Importing Variations from CSV or XML<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#import-variable-products-xml\">Importing Variable Products with Child XML Elements<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-new-import\">Step 1: Create a New Product Import <\/h2>\n\n\n\n<p>Navigate to <strong>All Import \u203a New Import<\/strong>\u00a0and upload\/load\/select your import file. In the dropdown list, choose <strong>WooCommerce Products<\/strong> and click\u00a0<strong>Create Filters<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Create-New-Import.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"730\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Create-New-Import-1024x730.png\" alt=\"Import Variable Products Create New Import\" class=\"wp-image-13124127\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Create-New-Import-1024x730.png 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Create-New-Import-300x214.png 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Create-New-Import-768x547.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Create-New-Import-1536x1095.png 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Create-New-Import.png 1914w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"review-variable-product-data\">Step 2: Review the Incoming Data<\/h2>\n\n\n\n<p>The <strong>Review Import File<\/strong> screen now appears. Validate that the import data on this screen is correct. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Review-the-Import-File.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1000\" height=\"1024\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Review-the-Import-File-1000x1024.png\" alt=\"Import Variable Products Review the Import File\" class=\"wp-image-13124131\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Review-the-Import-File-1000x1024.png 1000w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Review-the-Import-File-293x300.png 293w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Review-the-Import-File-768x786.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Review-the-Import-File-1500x1536.png 1500w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Review-the-Import-File-2000x2048.png 2000w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Review-the-Import-File.png 2104w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<p>With CSV files, you can change the delimiter used. With XML files, you can select the parent node to use in the import process.<\/p>\n\n\n\n<p>On this same screen, you can add filters using the <strong>Manage Filtering Options<\/strong> section. This lets you control which products to import (it uses XPath 1.0).<\/p>\n\n\n\n<p>Click\u00a0<strong>Continue to Setup Import<\/strong> to move to the next step.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"map-incoming-product-data\">Step 3: Map the Incoming Data to the Appropriate Product Fields<\/h2>\n\n\n\n<p>Next up is the <strong>Drag &amp; Drop<\/strong> screen, where you can build and configure the template required to import variable products. To map the data, drag and drop the import elements from the right to the appropriate import fields on the left. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Title &amp; Description Section<\/h3>\n\n\n\n<p>First, you map the title and the description for the WooCommerce product:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Drag-and-Drop.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"728\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Drag-and-Drop-1024x728.jpg\" alt=\"Import Variable Products Drag and Drop\" class=\"wp-image-5346984\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Drag-and-Drop-1024x728.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Drag-and-Drop-300x213.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Drag-and-Drop-768x546.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Drag-and-Drop-1536x1092.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Drag-and-Drop-2048x1456.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Drag-and-Drop.jpg 2366w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"woocommerce-add-on\">WooCommerce Add-On Section<\/h3>\n\n\n\n<p>Expand the&nbsp;<strong>WooCommerce Add-On<\/strong>&nbsp;section.<\/p>\n\n\n\n<p>To import variable products, define the<strong> Product Type<\/strong> as a <strong>Variable product<\/strong> in the dropdown list near the top. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-General-Tab-WooCommerce-Add-On.png\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"811\" height=\"1024\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-General-Tab-WooCommerce-Add-On-811x1024.png\" alt=\"Import Variable Products General Tab WooCommerce Add-On\" class=\"wp-image-13124130\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-General-Tab-WooCommerce-Add-On-811x1024.png 811w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-General-Tab-WooCommerce-Add-On-238x300.png 238w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-General-Tab-WooCommerce-Add-On-768x970.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-General-Tab-WooCommerce-Add-On-1216x1536.png 1216w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-General-Tab-WooCommerce-Add-On-1621x2048.png 1621w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-General-Tab-WooCommerce-Add-On.png 1794w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/><\/a><\/figure>\n\n\n\n<p>Then, you must configure these three tabs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>General <\/strong>tab. This is where you specify the price, as shown above. WooCommerce won\u2019t show variations on the front end of your site unless the price is present.<\/li>\n\n\n\n<li><strong>Inventory<\/strong> tab. Define the SKU here, as well as any stock information.<\/li>\n\n\n\n<li><strong>Attributes<\/strong> tab. You specify the variation attributes here \u2014 for example, Size or Color.<\/li>\n\n\n\n<li><strong>Variations<\/strong> tab: Used to specify how to link multiple variations from your file to form a single variable product.<\/li>\n<\/ul>\n\n\n\n<p>To learn more about the other tabs available for WooCommerce products, see: <a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-woocommerce-products\/#map-incoming-product-data\" target=\"_blank\" rel=\"noreferrer noopener\">Map Incoming WooCommerce Data<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"attributes-tab\">Attributes Tab<\/h3>\n\n\n\n<p>The&nbsp;<strong>Attributes<\/strong>&nbsp;tab allows you to import variable product attributes, which you can use to create variations or sort products. You can add as many attributes as needed, select whether they are used for variations, etc.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Additional Information On Attributes to Import Variable Products<\/h4>\n\n\n\n<p>Attributes are those things that users can change to&nbsp;choose the variation they want. Each attribute can have multiple possible values. Users select these values to choose the particular variation they want to purchase. For example, a T-shirt can have Color and Size attributes.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"636\" height=\"358\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/variable-1.gif\" alt=\"Variation selections\" class=\"wp-image-3032957\"\/><\/figure>\n\n\n\n<p>In the example above,&nbsp;the two attributes are Size and Depth. Attributes are set up on the <strong>Attributes<\/strong> tab of the <strong>WooCommerce Add-On<\/strong> section.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Attributes-Tab.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"598\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Attributes-Tab-1024x598.jpg\" alt=\"Import Variable Products Attributes Tab\" class=\"wp-image-5347830\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Attributes-Tab-1024x598.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Attributes-Tab-300x175.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Attributes-Tab-768x448.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Attributes-Tab-1536x897.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Attributes-Tab.jpg 1860w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>If you need to match with an existing attribute, you can use the attribute slug instead of the name, and WP All Import will attempt a direct match with any existing attribute with that slug.<\/p>\n\n\n\n<p>If your file has many types of variable products with different attributes \u2014 for example, the T-shirts&nbsp;in your file have&nbsp;Size and Color attributes, and Posters have&nbsp;Canvas Size and Depth attributes \u2014 just configure all the attributes in the plugin. The attributes will be ignored if they don\u2019t exist for a particular product in your file, so you won\u2019t end up with T-shirts with Canvas Size and Depth attributes or Posters with Size and Color attributes.<\/p>\n\n\n\n<p>Some attribute names are reserved. For example, you can\u2019t use \"Type\". If you can\u2019t use a certain&nbsp;attribute name inside of WooCommerce, you can\u2019t use it&nbsp;inside WP All Import either.<\/p>\n\n\n\n<div class=\"docs-interstitial\">\n\n    <img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/plugins\/custom-acf-blocks\/blocks\/docs-interstitial\/img\/octopus-logo.svg\" class=\"docs-interstitial__logo\">    <h3>Import WooCommerce Products from CSV, XML, Excel<\/h3>\n    <ul><li>Product variations &amp; attributes<\/li><li>Price &amp; stock<\/li><li>Images &amp; galleries<\/li><li>Scheduled imports<\/li><\/ul>\n    <div class=\"docs-interstitial__cta\">\n        <a class=\"docs-interstitial__btn\" href=\"#pricing\" target=\"_self\">View Pricing<\/a>\n                    <a class=\"docs-interstitial__text-link\" href=\"https:\/\/www.wpallimport.com\/woocommerce-product-import\/\" target=\"_self\">\n                Product Tour\n                <div class=\"docs-interstitial__text-link-arrow\">\n                    <svg width=\"13\" height=\"11\" viewBox=\"0 0 13 11\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M8 1.5L12 5.5L8 9.5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\n                    <path d=\"M11.5 5.5H1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><\/path>\n                    <\/svg>\n                <\/div>\n            <\/a>\n            <\/div>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"variations-tab\">Variations Tab<\/h3>\n\n\n\n<p>Below, we detail the different ways to set up the <strong>Variations<\/strong> tab. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-in-WooCommerce-Variations-Tab.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"880\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-in-WooCommerce-Variations-Tab-1024x880.jpg\" alt=\"Import Variable Products in WooCommerce Variations Tab\" class=\"wp-image-5347835\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-in-WooCommerce-Variations-Tab-1024x880.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-in-WooCommerce-Variations-Tab-300x258.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-in-WooCommerce-Variations-Tab-768x660.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-in-WooCommerce-Variations-Tab-1536x1321.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-in-WooCommerce-Variations-Tab-2048x1761.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-in-WooCommerce-Variations-Tab.jpg 2182w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Linking Multiple Variations Together to Form a Variable Product<\/h4>\n\n\n\n<p>WooCommerce stores a variable product as a single-parent product with multiple child variations.<\/p>\n\n\n\n<p>For example, a T-shirt might have three child variations \u2014 Small, Medium, and Large.<\/p>\n\n\n\n<p>You can import XML, CSV, Excel or Google Sheets files containing parent products with child variations. You can also import files that only contain product variations with no parent products.<\/p>\n\n\n\n<p>On the <strong>Variations<\/strong> tab of the WooCommerce Add-On, you specify how to group multiple product variations into a single variable product. Typically, for CSV files, you\u2019ll have one product variation per row, and for XML files, one product variation per record.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"examplea\">Example A \u2013 Linking Variations to Parent Based on Parent SKU<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Parent-SKU.jpg\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"485\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Parent-SKU-1024x485.jpg\" alt=\"Import Variable Products Variations by Parent SKU\" class=\"wp-image-5347026\" style=\"width:840px;height:undefinedpx\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Parent-SKU-1024x485.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Parent-SKU-300x142.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Parent-SKU-768x364.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Parent-SKU.jpg 1356w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Download:&nbsp;<a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2014\/10\/data-example-1.csv\" target=\"_blank\" rel=\"noreferrer noopener\">CSV<\/a>&nbsp;\u00b7&nbsp;<a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2014\/10\/data-example-1.xml_.zip\" target=\"_blank\" rel=\"noreferrer noopener\">XML<\/a><\/p>\n\n\n\n<p>In this example,&nbsp;you\u2019ll notice there are two products (a Soflyy Mug and a Soflyy T-Shirt) with two&nbsp;variations each (based on Color).<\/p>\n\n\n\n<p>Our file contains both the parent products and the variations in this example.<\/p>\n\n\n\n<p>The variations are grouped to their parent products using the SKU and Parent SKU columns.&nbsp;We can use the Parent SKU column to tell WP All Import to assign&nbsp;the variations to the parent product with an&nbsp;SKU that is the same as the variation\u2019s Parent SKU.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"exampleb\">Example B \u2013 Product Variations Grouped by a Unique Identifier<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Group-ID.jpg\" data-rel=\"lightbox-image-7\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Group-ID-1024x531.jpg\" alt=\"Import Variable Products Variations by Group ID\" class=\"wp-image-5347030\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Group-ID-1024x531.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Group-ID-300x156.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Group-ID-768x398.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Group-ID.jpg 1342w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Download:&nbsp;<a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2014\/10\/data-example-2.csv\" target=\"_blank\" rel=\"noreferrer noopener\">CSV<\/a>&nbsp;\u00b7&nbsp;<a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2014\/10\/data-example-2.xml_.zip\" target=\"_blank\" rel=\"noreferrer noopener\">XML<\/a><\/p>\n\n\n\n<p>Here, there are two products (Coca-Cola and Sprite) with four variations each (based on Size). There are no parent products, but the variations&nbsp;are grouped together with the&nbsp;Group ID column.<\/p>\n\n\n\n<p>Since WooCommerce requires parent products, WP All Import will automatically create the parent products for us. We can use the&nbsp;Group ID column to tell&nbsp;the plugin to&nbsp;group&nbsp;all the variations with the same Group ID into a single variable product.<\/p>\n\n\n\n<p>Selecting this setting will enable the <strong>Manage stock?<\/strong> and <strong>Stock status<\/strong> options inside this same tab.<\/p>\n\n\n\n<p>This option requires using a unique SKU and parent SKU per each product variation.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"examplec\">Example C \u2013 Variations Grouped by Title<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Title.jpg\" data-rel=\"lightbox-image-8\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"530\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Title-1024x530.jpg\" alt=\"Import Variable Products Variations by Title\" class=\"wp-image-5347031\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Title-1024x530.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Title-300x155.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Title-768x397.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Variations-by-Title.jpg 1094w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Download:&nbsp;<a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2014\/10\/data-example-3.csv\" target=\"_blank\" rel=\"noreferrer noopener\">CSV<\/a>&nbsp;\u00b7&nbsp;<a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2014\/10\/data-example-3.xml_.zip\" target=\"_blank\" rel=\"noreferrer noopener\">XML<\/a><\/p>\n\n\n\n<p>In this example,&nbsp;there are two products (Wagyu Tenderloin Steak and Lamb Chops), with three&nbsp;variations each, based on the weight of the steak and the quantity of the lamb.<\/p>\n\n\n\n<p>The variations are grouped together by title.&nbsp;We can use the Product Title&nbsp;column to tell WP All Import to assign&nbsp;the variations to the parent product that has the same title.<\/p>\n\n\n\n<p>The Quantity attribute will be ignored for the steak, and the Weight attribute will be ignored for the lamb.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"exampled\">Example D \u2013 Variations Grouped by Title, No Parent Products<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-Variations-by-Title-No-Parent.jpg\" data-rel=\"lightbox-image-9\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-Variations-by-Title-No-Parent-1024x606.jpg\" alt=\"Import Variable Products Match Variations by Title No Parent\" class=\"wp-image-5347036\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-Variations-by-Title-No-Parent-1024x606.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-Variations-by-Title-No-Parent-300x177.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-Variations-by-Title-No-Parent-768x454.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-Variations-by-Title-No-Parent.jpg 1106w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Download:&nbsp;<a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2014\/10\/data-example-4.csv\">CSV<\/a>&nbsp;\u00b7&nbsp;<a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2014\/10\/data-example-4.xml_.zip\">XML<\/a><\/p>\n\n\n\n<p>In this example,&nbsp;you\u2019ll notice there are two products (Apple tree and Orange tree), with four&nbsp;variations each, based on the tree height and type of rootstock.<\/p>\n\n\n\n<p>Here, our file contains only variations without parent products. WP All Import will automatically create the parent products.<\/p>\n\n\n\n<p>The variations are grouped together by title.&nbsp;We can use the Product Title&nbsp;column to tell WP All Import to create multiple variable products, with each one containing all the variations with the same title.<\/p>\n\n\n\n<p>This option requires using a unique SKU and parent SKU per each product variation.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"examplee\">Example E \u2013 Variations as Child XML Element<\/h4>\n\n\n\n<p>Use this option if you are importing an XML file, and the variations are child elements of your product elements instead of separate product elements.<\/p>\n\n\n\n<p>In the XML example below, all product variations are enclosed in an element, where one product can have any number of variants:<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"xml\"><pre class=\"line-numbers\"><code class=\"language-xml\">&lt;Product>\n\t&lt;SKU>10027105&lt;\/SKU>\n\t&lt;Brand_Name>Adidas&lt;\/Brand_Name>\n\t&lt;Product_Name>Adidas Mens Climacool Boat Lace Shoes - Sale&lt;\/Product_Name>\n\t&lt;Long_Description>...&lt;\/Long_Description>\n\t&lt;Short_Description>...&lt;\/Short_Description>\n\t&lt;Category>Footwear&lt;\/Category>\n\t&lt;SubCategory>Casual&lt;\/SubCategory>\n\t&lt;Product_Group>Men's&lt;\/Product_Group>\n\t&lt;Thumb_URL>...&lt;\/Thumb_URL>\n\t&lt;Image_URL>...&lt;\/Image_URL>\n\t&lt;Buy_Link>...&lt;\/Buy_Link>\n\t&lt;Retail_Price>74.99&lt;\/Retail_Price>\n\t&lt;Sale_Price>59.99&lt;\/Sale_Price>\n\t&lt;Extended_Xml_Attributes>\n\t\t&lt;variants>\n\t\t\t&lt;variant>\n\t\t\t\t&lt;sku>19301&lt;\/sku>\n\t\t\t\t&lt;upc>0886833708180&lt;\/upc>\n\t\t\t\t&lt;size>8&lt;\/size>\n\t\t\t\t&lt;color>Dark Indigo&lt;\/color>\n\t\t\t\t&lt;retail_price>74.99&lt;\/retail_price>\n\t\t\t\t&lt;sale_price>59.99&lt;\/sale_price>\n\t\t\t\t&lt;action_url>...&lt;\/action_url>\n\t\t\t&lt;\/variant>\n\t\t\t&lt;variant\/>\n\t\t\t...\n\t\t&lt;\/variants>\n\t&lt;\/Extended_Xml_Attributes>\n&lt;\/Product><\/code><\/pre><\/div>\n\n\n\n<p>You don\u2019t need to set anything in the <strong>General<\/strong> or <strong>Attributes<\/strong> tab when importing variations in this format. You set the price and the attributes in the <strong>Variations<\/strong> tab directly. Though, in some cases, you may also need to set up those tabs, for example, when your file requires it, or if you're also importing simple products with attributes located outside of the &lt;variants\/variant&gt; elements (see example above).<\/p>\n\n\n\n<p>For the plugin to detect the variations, you must define the XML elements that contain them. You can do this by dragging &amp; dropping one of the &lt;variant&gt; elements into the <strong>Variations XPath<\/strong> box.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-XML-Variations-by-XPath.jpg\" data-rel=\"lightbox-image-10\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"669\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-XML-Variations-by-XPath-1024x669.jpg\" alt=\"Import Variable Products Match XML Variations by XPath\" class=\"wp-image-5347048\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-XML-Variations-by-XPath-1024x669.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-XML-Variations-by-XPath-300x196.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-XML-Variations-by-XPath-768x502.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-XML-Variations-by-XPath-1536x1004.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-XML-Variations-by-XPath-2048x1338.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Match-XML-Variations-by-XPath.jpg 2550w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>You then set your attributes by dragging &amp; dropping attributes from the popup XML tree containing the XML for the variation instead of using the main XML tree.<\/p>\n\n\n\n<p>Set your price using the price in the popup XML tree if available, or if you want to set all the variation prices to the price of the parent product, you can drag&nbsp;the price from the main XML tree. When dragging XPath from the main XML tree to any of the boxes below Variations XPath, you must check the XPath from the Parent option. This option requires using a unique SKU and parent SKU per each product variation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Map-XML-with-XPath-scaled.jpg\" data-rel=\"lightbox-image-11\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"539\" height=\"1024\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Map-XML-with-XPath-539x1024.jpg\" alt=\"Import Variable Products Map XML with XPath\" class=\"wp-image-5347815\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Map-XML-with-XPath-539x1024.jpg 539w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Map-XML-with-XPath-158x300.jpg 158w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Map-XML-with-XPath-768x1459.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Map-XML-with-XPath-808x1536.jpg 808w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Map-XML-with-XPath-1078x2048.jpg 1078w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Map-XML-with-XPath-scaled.jpg 1347w\" sizes=\"(max-width: 539px) 100vw, 539px\" \/><\/a><\/figure>\n\n\n\n<p>In the screenshot above, you can see there are thirteen total variants of the current product. Configure the options for just one, and WP All Import will automatically loop through the other twelve variations and create variations for all of them.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"other-options\">Other Options Available in the Variations Tab<\/h4>\n\n\n\n<p>Different options appear near the bottom of the <strong>Variations<\/strong> tab when you select any of the options above. The following options appear for all settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Variations Enabled: <\/strong>Enabled by default. This option is the same as the Enabled checkbox when editing an individual variation in WooCommerce. You can select <strong>Yes<\/strong>, <strong>No,<\/strong> or <strong>Set with XPath<\/strong> (accepts <code>yes<\/code> or <code>no<\/code>). <\/li>\n\n\n\n<li><strong>Set the default selection in the attributes dropdowns:<\/strong> Disabled by default. When enabled, you can have either the first variation, the first in stock, or define the default attributes via XPath (accepts only serialized data, such as <code>a:2:{s:7:\"pa_size\";s:3:\"6-5\";s:8:\"pa_color\";s:3:\"red\";}<\/code>).<\/li>\n\n\n\n<li><strong>Do not set default selections for the dropdowns<\/strong>: Self-explanatory. Enabled by default. <\/li>\n\n\n\n<li><strong>Create products with no variations as simple products<\/strong>: Enabled by default. It should be disabled to create a variable product even when the product contains just one variation.<\/li>\n\n\n\n<li><strong>Save variation image to the gallery<\/strong>: Disabled by default. Enable it to save variation images to the product gallery, too. <\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"images-section\">Images Section<\/h3>\n\n\n\n<p>Images found in the parent record get imported into the product. The first image is assigned as the featured image when the <strong>Set the first image to the Featured Image (_thumbnail_id)<\/strong> option is enabled. All other images are added to the product gallery. <\/p>\n\n\n\n<p>Images found in the variation record are imported into the variation itself. To save these images to the product gallery, enable the option <strong>Save variation image to the gallery<\/strong> in the <strong>Variations<\/strong> tab.<\/p>\n\n\n\n<p>Multiple variation images are not supported out of the box but can be enabled with third-party plugins. Whenever any of the following plugins are active:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/woocommerce.com\/products\/woocommerce-additional-variation-images\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce Additional Variation Images<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/woo-variation-gallery\/\" target=\"_blank\" rel=\"noreferrer noopener\">Additional Variation Images Gallery for WooCommerce<\/a><\/li>\n<\/ul>\n\n\n\n<p>The option <strong>Import additional variation images<\/strong> appears in the <strong>Variations<\/strong> tab:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Add-Additional-Variation-Images.jpg\" data-rel=\"lightbox-image-12\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"881\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Add-Additional-Variation-Images-1024x881.jpg\" alt=\"Import Variable Products Add Additional Variation Images\" class=\"wp-image-5347846\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Add-Additional-Variation-Images-1024x881.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Add-Additional-Variation-Images-300x258.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Add-Additional-Variation-Images-768x661.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Add-Additional-Variation-Images-1536x1321.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Add-Additional-Variation-Images-2048x1762.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Add-Additional-Variation-Images.jpg 2176w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>That option processes the multiple variation images and adds them as needed to the installed plugin.<\/p>\n\n\n\n<p>If you use a different plugin to enable multiple variation images, you can write custom code that uses our <em><a href=\"https:\/\/www.wpallimport.com\/documentation\/action-reference\/#pmxi_gallery_image\" target=\"_blank\" rel=\"noreferrer noopener\">pmxi_gallery_image<\/a><\/em> hook to import the images into it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"other-sections\">Other Sections<\/h3>\n\n\n\n<p>Other sections are available such as <strong>Custom Fields<\/strong>,&nbsp;<strong>Other Product Options<\/strong>, etc., but we won't cover much from those in this guide. <\/p>\n\n\n\n<p>To import custom fields to variations, you can add them to the <strong>Custom Fields<\/strong> section when using all options in the <strong>Variations<\/strong> tab, except for <a href=\"#examplee\" target=\"_blank\" rel=\"noreferrer noopener\">Example D \u2013 Variations As Child XML Element<\/a>, where you would need to use custom code to import custom fields correctly.  <\/p>\n\n\n\n<p>Once you're done setting up the import template, proceed to click on <strong>Continue to Import Settings<\/strong> (not shown) at the bottom.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configure-variable-products-import-settings\">Step 4: Configure the Import Settings<\/h2>\n\n\n\n<p>This is the <strong>Import Settings<\/strong> screen. Here, you can change different import configurations. <\/p>\n\n\n\n<p>First, click on <strong>Auto-detect<\/strong>&nbsp;to generate a unique identifier for the import. If needed, you can build this identifier by using import elements. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Define-Import-Settings.png\" data-rel=\"lightbox-image-13\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"760\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Define-Import-Settings-1024x760.png\" alt=\"Import Variable Products Define Import Settings\" class=\"wp-image-13124129\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Define-Import-Settings-1024x760.png 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Define-Import-Settings-300x223.png 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Define-Import-Settings-768x570.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Define-Import-Settings-1536x1140.png 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Define-Import-Settings-2048x1520.png 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/Import-Variable-Products-Define-Import-Settings.png 2826w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>You can tell WP All Import what to do when this import is run again in the following panels. Specifically, you can modify the behavior to either update, delete or create products. <\/p>\n\n\n\n<p>You can also find two panels near the bottom, one to set up&nbsp;<strong>Scheduling Options<\/strong> and the other to <strong>Configure Advanced Settings<\/strong>.&nbsp;For now, you can leave the default selections in both.<\/p>\n\n\n\n<p>To move on to the next step, click <strong>Continue<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"run-import-verify-imported-products\">Step 5: Run the Import and Verify That the Variable Products Were Imported<\/h2>\n\n\n\n<p>The <strong>Confirm &amp; Run<\/strong> screen appears. Here, you can review an import summary:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Confirm-and-Run.jpg\" data-rel=\"lightbox-image-14\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"637\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Confirm-and-Run-1024x637.jpg\" alt=\"Import Variable Products Confirm and Run\" class=\"wp-image-5347945\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Confirm-and-Run-1024x637.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Confirm-and-Run-300x187.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Confirm-and-Run-768x478.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Confirm-and-Run-1536x955.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Confirm-and-Run-2048x1274.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Confirm-and-Run.jpg 2306w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>After verifying everything is correct, click on&nbsp;<strong>Confirm &amp; Run Import<\/strong>&nbsp;to finish the import process. <\/p>\n\n\n\n<p>You'll see the following screen once the import completes:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Import-Complete.jpg\" data-rel=\"lightbox-image-15\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"398\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Import-Complete-1024x398.jpg\" alt=\"Import Variable Products Import Complete\" class=\"wp-image-5347950\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Import-Complete-1024x398.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Import-Complete-300x117.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Import-Complete-768x299.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Import-Complete-1536x597.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Import-Complete-2048x796.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Import-Complete.jpg 2300w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Navigate to <strong>Products \u203a All Products<\/strong>&nbsp;in the WordPress menu to review if all products were imported correctly:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Review-Products.jpg\" data-rel=\"lightbox-image-16\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"693\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Review-Products-1024x693.jpg\" alt=\"Import Variable Products Review Products\" class=\"wp-image-5347953\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Review-Products-1024x693.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Review-Products-300x203.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Review-Products-768x520.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Review-Products-1536x1040.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Review-Products-2048x1386.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Review-Products.jpg 2364w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>That's it! You've successfully imported variable products in WooCommerce. <\/p>\n\n\n\n<div class=\"docs-interstitial\">\n\n    <img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/plugins\/custom-acf-blocks\/blocks\/docs-interstitial\/img\/octopus-logo.svg\" class=\"docs-interstitial__logo\">    <h3>Import WooCommerce Products from CSV, XML, Excel<\/h3>\n    <ul><li>Product variations &amp; attributes<\/li><li>Price &amp; stock<\/li><li>Images &amp; galleries<\/li><li>Scheduled imports<\/li><\/ul>\n    <div class=\"docs-interstitial__cta\">\n        <a class=\"docs-interstitial__btn\" href=\"#pricing\" target=\"_self\">View Pricing<\/a>\n                    <a class=\"docs-interstitial__text-link\" href=\"https:\/\/www.wpallimport.com\/woocommerce-product-import\/\" target=\"_self\">\n                Product Tour\n                <div class=\"docs-interstitial__text-link-arrow\">\n                    <svg width=\"13\" height=\"11\" viewBox=\"0 0 13 11\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M8 1.5L12 5.5L8 9.5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\n                    <path d=\"M11.5 5.5H1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><\/path>\n                    <\/svg>\n                <\/div>\n            <\/a>\n            <\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"advanced-topics\"><strong>Import Variable Products \u2013 Advanced Topics<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"import-variable-products-from-shopify\">Importing Variable Products from Shopify<\/h3>\n\n\n\n<p>Product files that have been exported from Shopify can have a unique format, which makes it trickier to work with in WP All Import. While modifying their exported file is a feasible route, we've built the exact workaround required to bring your variable products into WooCommerce using WP All Import and the WooCommerce Import Add-On without any modifications to the file.<\/p>\n\n\n\n<p>In the <strong>Inventory<\/strong> tab of the <strong>WooCommerce Add-On<\/strong> section, define the <strong>SKU<\/strong> as the following:<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"xpath\"><pre class=\"line-numbers\"><code class=\"language-xpath\">{handle[1]}[generate_attribute_string({option1value[1]},{option2value[1]},{option3value[1]})]<\/code><\/pre><\/div>\n\n\n\n<p>See below. We have included 3 option*value attributes in this example, but you could have less, or more. You need to adjust the function call accordingly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/WooCommerce-Add-On-SKU-Example-for-Shopify.png\" data-rel=\"lightbox-image-17\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"798\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/WooCommerce-Add-On-SKU-Example-for-Shopify-1024x798.png\" alt=\"WooCommerce Add-On SKU Example for Shopify\" class=\"wp-image-13124128\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/WooCommerce-Add-On-SKU-Example-for-Shopify-1024x798.png 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/WooCommerce-Add-On-SKU-Example-for-Shopify-300x234.png 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/WooCommerce-Add-On-SKU-Example-for-Shopify-768x599.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/WooCommerce-Add-On-SKU-Example-for-Shopify-1536x1197.png 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/WooCommerce-Add-On-SKU-Example-for-Shopify-2048x1596.png 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2025\/11\/WooCommerce-Add-On-SKU-Example-for-Shopify.png 2430w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Then add the following code in the <strong>Function Editor<\/strong> (<strong>All Import<\/strong> \u203a <strong>Settings<\/strong>):<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"php\"><pre class=\"line-numbers\"><code class=\"language-php\">function generate_attribute_string() {\n    $result = '';\n\n    \/\/ Get all the arguments passed to the function\n    $attributes = func_get_args();\n\n    foreach ($attributes as $attribute) {\n        \/\/ Check if the attribute exists and is not empty\n        if (!empty($attribute)) {\n            \/\/ Append a dash and the sanitized attribute to the result string\n            $result .= '-' . sanitize_title($attribute);\n        }\n    }\n\n    \/\/ Return the result\n    return $result;\n}<\/code><\/pre><\/div>\n\n\n\n<p>In the <strong>Attributes<\/strong> tab, define the attributes using the following for the name:<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"xpath\"><pre class=\"line-numbers\"><code class=\"language-xpath\">[my_attribute_name({handle[1]}, \"option1name\", {option1name[1]})]<\/code><\/pre><\/div>\n\n\n\n<p>And use the same <code>{option1name[1]}<\/code> for the value. If you have multiple attributes, you need to add more or less attributes as needed, using the same code but updating the option number.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Attributes-Tab-in-WooCommerce-Add-On-Products-from-Shopify.png\" data-rel=\"lightbox-image-18\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"417\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Attributes-Tab-in-WooCommerce-Add-On-Products-from-Shopify-1024x417.png\" alt=\"Attributes Tab in WooCommerce Add-On Products from Shopify\" class=\"wp-image-10728603\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Attributes-Tab-in-WooCommerce-Add-On-Products-from-Shopify-1024x417.png 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Attributes-Tab-in-WooCommerce-Add-On-Products-from-Shopify-300x122.png 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Attributes-Tab-in-WooCommerce-Add-On-Products-from-Shopify-768x313.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Attributes-Tab-in-WooCommerce-Add-On-Products-from-Shopify-1536x625.png 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Attributes-Tab-in-WooCommerce-Add-On-Products-from-Shopify-2048x833.png 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Attributes-Tab-in-WooCommerce-Add-On-Products-from-Shopify.png 2708w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>This is the code used. It also has to be added in the <strong>Function Editor<\/strong> (<strong>All Import<\/strong> \u203a <strong>Settings<\/strong>):<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"php\"><pre class=\"line-numbers\"><code class=\"language-php\">function my_attribute_name($handle, $key, $value = '') {\n    \/\/ Get the import ID\n    $import_id = wp_all_import_get_import_id();\n\n    \/\/ Generate the option name\n    $option_name = 'soflyy-' . $import_id . '-attribute-name';\n\n    \/\/ Get the saved attributes array\n    $attributes = get_option($option_name, []);\n\n    \/\/ If $value is empty, return the value for the specified handle and key\n    if (empty($value)) {\n        if (isset($attributes[$handle][$key])) {\n            return $attributes[$handle][$key];\n        }\n        return null;\n    }\n\n    \/\/ Save the value into the attributes array\n    if (!isset($attributes[$handle])) {\n        $attributes[$handle] = [];\n    }\n\n    $attributes[$handle][$key] = $value;\n\n    \/\/ Update the option with the modified attributes array\n    update_option($option_name, $attributes);\n\n    return $value;\n}\n\nfunction after_xml_import($import_id, $import) {\n    \/\/ Remove all options at the end of the import for the given import ID\n    if ($import_id == 1) {\n        \/\/ Generate the option name\n        $option_name = 'soflyy-' . $import_id . '-attribute-name';\n        \n        \/\/ Delete the option\n        delete_option($option_name);\n    }\n}\nadd_action('pmxi_after_xml_import', 'after_xml_import', 10, 2);<\/code><\/pre><\/div>\n\n\n\n<p>On the <strong>Variations<\/strong> tab, you need to define <code>{handle[1]}<\/code> as both the <strong>Unique Value<\/strong> and the <strong>Parent SKU<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Variations-Tab-in-WooCommerce-Add-On-Shopify.png\" data-rel=\"lightbox-image-19\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"597\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Variations-Tab-in-WooCommerce-Add-On-Shopify-1024x597.png\" alt=\"Variations Tab in WooCommerce Add-On Shopify\" class=\"wp-image-10727871\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Variations-Tab-in-WooCommerce-Add-On-Shopify-1024x597.png 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Variations-Tab-in-WooCommerce-Add-On-Shopify-300x175.png 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Variations-Tab-in-WooCommerce-Add-On-Shopify-768x448.png 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Variations-Tab-in-WooCommerce-Add-On-Shopify-1536x895.png 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Variations-Tab-in-WooCommerce-Add-On-Shopify-2048x1194.png 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2024\/12\/Variations-Tab-in-WooCommerce-Add-On-Shopify.png 5448w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>In the <strong>Images<\/strong> section, you need to use an IF statement to conditionally choose which image element to use:<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"xpath\"><pre class=\"line-numbers\"><code class=\"language-xpath\">[IF({variantimage[.!='']})]{variantimage[1]}[ELSE]{imagesrc[1]}[ENDIF]<\/code><\/pre><\/div>\n\n\n\n<p>Finally, make sure that the Unique Identifier includes the <code>{handle[1]}<\/code>, as well as all the options or attributes available. Expanding on our example, if the feed has products with 3 attributes, the three options should be included:<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"php\"><pre class=\"line-numbers\"><code class=\"language-php\">{handle[1]} - {variantsku[1]} - {option1value[1]}-{option2value[1]}-{option3value[1]}<\/code><\/pre><\/div>\n\n\n\n<p>With that configuration, you'll be able to import your variable products from Shopify into WooCommerce. If you run into any issues, feel free to reach out to our support over at our <a href=\"https:\/\/www.wpallimport.com\/support\/\" target=\"_blank\" rel=\"noreferrer noopener\">Support Form<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"simple-and-variable\">Importing Simple and Variable Products at the Same Time<\/h3>\n\n\n\n<p>Configure your import as if you were only importing variable products.<\/p>\n\n\n\n<p>WP All Import will automatically create simple products for products that have no variations or only a single variation when the <strong>Create products with no variations as simple products<\/strong> option is active in the <strong>Variations<\/strong> tab:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Create-Products-With-No-Variations-As-Simple.jpg\" data-rel=\"lightbox-image-20\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"880\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Create-Products-With-No-Variations-As-Simple-1024x880.jpg\" alt=\"Import Variable Products Create Products With No Variations As Simple\" class=\"wp-image-5347959\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Create-Products-With-No-Variations-As-Simple-1024x880.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Create-Products-With-No-Variations-As-Simple-300x258.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Create-Products-With-No-Variations-As-Simple-768x660.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Create-Products-With-No-Variations-As-Simple-1536x1321.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Create-Products-With-No-Variations-As-Simple-2048x1761.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Create-Products-With-No-Variations-As-Simple.jpg 2182w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>To avoid this behavior and import all products as a variable product, even when they have just one variation, simply disable this setting. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"set-up-excel-file\">Setting Up an Excel File to Import Product Variations (Video)<\/h3>\n\n\n\n<p>Maybe you want to&nbsp;manually create a file containing your variations because you don\u2019t already have a point of sale or inventory management system that does it for you, or you don\u2019t have a product feed from a drop-shipper or affiliate network.&nbsp;Sad days, but here\u2019s how to do it using Excel:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"WooCommerce Excel Import \/ Upload - Create &amp; Import Variable Products from Excel to WooCommerce\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/XIhqvEsrupo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>This same process can be used in Google Sheets, and you can then use the Google Sheets file to set up the import. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"link-all-variations\">Using Link All Variations<\/h3>\n\n\n\n<p>On the <strong>Attributes<\/strong> tab, you'll notice a <strong>Link All Variations<\/strong> option. If the data for your variations is stored in a single row, use this option. It works just like the Link All Variations option inside WooCommerce.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"533\" height=\"175\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/link-all-variations-1.png\" alt=\"Link all variations\" class=\"wp-image-3032964\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/link-all-variations-1.png 533w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/link-all-variations-1-300x98.png 300w\" sizes=\"(max-width: 533px) 100vw, 533px\" \/><\/figure>\n\n\n\n<p>In the above example, <em>Baseball Cap<\/em> is a product with&nbsp;three color variations, and <em>Mug<\/em> has two color variations.<\/p>\n\n\n\n<p>A pipe symbol&nbsp;\u2013 | separates each color.<\/p>\n\n\n\n<p>The WooCommerce Import Add-On will automatically generate variations for each color using the settings below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Link-All-Variations.jpg\" data-rel=\"lightbox-image-21\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" width=\"1024\" height=\"427\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Link-All-Variations-1024x427.jpg\" alt=\"Import Variable Products Link All Variations\" class=\"wp-image-5347969\" srcset=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Link-All-Variations-1024x427.jpg 1024w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Link-All-Variations-300x125.jpg 300w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Link-All-Variations-768x321.jpg 768w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Link-All-Variations-1536x641.jpg 1536w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Link-All-Variations-2048x855.jpg 2048w, https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/Import-Variable-Products-Link-All-Variations.jpg 2386w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>When this option is activated, the <strong>Variations<\/strong> tab will disappear. <\/p>\n\n\n\n<p>If your file uses something other than a | as a separator, you can use a PHP function to replace it with a |.<\/p>\n\n\n\n<p>For example, if you had a Color column containing <em>Red,Blue,Green<\/em> you\u2019d replace the commas with pipes like this:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:false,&quot;languageLabel&quot;:false,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:false,&quot;mode&quot;:&quot;php&quot;,&quot;mime&quot;:&quot;text\/x-php&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;PHP&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;php&quot;}\">[str_replace(&quot;,&quot;, &quot;|&quot;, {Color[1]})]<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"stock-management-parent-variable\">Enable Variation Stock While Disabling Parent Product Stock Management<\/h3>\n\n\n\n<p>When using <a href=\"#examplea\" target=\"_blank\" rel=\"noreferrer noopener\">Example A<\/a> or <a href=\"#examplec\" target=\"_blank\" rel=\"noreferrer noopener\">Example C<\/a> and setting up product stock, you may want to keep stock management enabled for simple products or at the variation level only, while disabling stock management at the parent product level. That can be achieved using custom code along with our API. Here's a working snippet:<\/p>\n\n\n\n<div class=\"wp-block-wpcodebox-snippet wpcodebox-snippet\" data-language=\"php\"><pre class=\"line-numbers\"><code class=\"language-php\">\/\/ No manage stock for parent variable products. Keep manage stock for simple products.\n\/\/ Do not set parent Stock\nadd_action( 'wp_all_import_variable_product_imported', 'parent_no_stock', 10, 1 );\nfunction parent_no_stock( $id ) {\n    \/\/ Optional: only run for certain import ID\n    \/\/ $import_id = wp_all_import_get_import_id(); \n    \/\/ if ( $import_id != '25' ) return;\n\n\t$is_converted = get_post_meta($id, '_wpai_converted_to_simple', true);\t\n\tif ( empty($is_converted) ) {\n\t\t$prod = wc_get_product( $id );\n\t\t$prod->set_manage_stock( false );\n\t\t$prod->save();\n\t}\n}\n\nadd_action( 'wp_all_import_make_product_simple', 'my_wpai_simple_product_func', 10, 2 );\nfunction my_wpai_simple_product_func( $prod_id, $import_id ) {\n    \/\/ Optional: only run for certain import ID\n    \/\/ if ( $import_id != '25' ) return;\t\n\tupdate_post_meta($prod_id, '_wpai_converted_to_simple', 1);\n}<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"import-from-csv-xml-video\">Importing Variations From CSV or XML (Video)<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"WooCommerce Variable Product CSV Import Tutorial (or XML) - WP All Import\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/kQSI6GB7eL4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"import-variable-products-xml\">Import Variable Products From XML to WooCommerce with Child XML Elements (Video)<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Importing Variable Products From XML to WooCommerce - Variations As Child XML Elements\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/F1NX4po0dsc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Import Variable Products \u2013 Frequently Asked Questions<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq1\">How Do I Bulk Upload Variable Products in WooCommerce?<\/h3>\n\n\n\n<p>To bulk upload variable products in WooCommerce, simply follow the steps in this tutorial. Anytime that you import more than one variable product, you are \"bulk uploading\" variable products. Most imports do this, so there is nothing special about it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq2\">How Do I Import a Variable Product CSV File into WooCommerce?<\/h3>\n\n\n\n<p>To import a variable product CSV file into WooCommerce, just follow the instructions in this tutorial. WP All Import will recognize that your import file is CSV and will automatically adjust its interface to accommodate that format.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq3\">How Do I Add New Variations to Existing Variable Products?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a New Import via <strong>All Import \u203a New Import<\/strong>.<\/li>\n\n\n\n<li>Upload the import file with the new variations.<\/li>\n\n\n\n<li>Set up a variable product's import and use the <strong>I'm importing new variations to existing products<\/strong> option in the <strong>Variations<\/strong> tab.<\/li>\n\n\n\n<li>Process the import and review that all new variations are added as expected.<\/li>\n<\/ol>\n\n\n\n<p>This is only possible with a <strong>New Items<\/strong> import, and the option described above won't appear with an <strong>Existing Items<\/strong> import. You can match with an existing variable parent product using any custom field or the product's title. You can also <strong>Create new product if no existing product is found<\/strong>. <\/p>\n\n\n\n<p>This process can also be used to convert existing simple products into variable products.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq4\">How Do I Add New Variations Using the Bulk Edit Process?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a new WooCommerce product export using WP All Export.<\/li>\n\n\n\n<li>Modify the exported products to add the new variations as desired. <\/li>\n\n\n\n<li>Ensure the variations comply with the same format in the existing sheet. If there are no variable products, just ensure that the parent row is above all the variations that belong to it (see <a href=\"#examplea\">Example A<\/a> above for reference).<\/li>\n\n\n\n<li>Use the <strong>Import with WP All Import<\/strong> option in <strong>All Export \u203a Manage Exports<\/strong>.<\/li>\n\n\n\n<li>Leave the configurations as-is and proceed to re-import the products.<\/li>\n<\/ol>\n\n\n\n<p>Using the instructions above, you can generate a new export file with all WooCommerce products, add the new variations to that file, and then re-import everything to add new variations to existing products. See <a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-bulk-edit-woocommerce-products\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Bulk Edit WooCommerce Products in Simple Steps<\/a> to learn more.<\/p>\n\n\n\n<div class=\"docs-interstitial\">\n\n    <img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/plugins\/custom-acf-blocks\/blocks\/docs-interstitial\/img\/octopus-logo.svg\" class=\"docs-interstitial__logo\">    <h3>Import WooCommerce Products from CSV, XML, Excel<\/h3>\n    <ul><li>Product variations &amp; attributes<\/li><li>Price &amp; stock<\/li><li>Images &amp; galleries<\/li><li>Scheduled imports<\/li><\/ul>\n    <div class=\"docs-interstitial__cta\">\n        <a class=\"docs-interstitial__btn\" href=\"#pricing\" target=\"_self\">View Pricing<\/a>\n                    <a class=\"docs-interstitial__text-link\" href=\"https:\/\/www.wpallimport.com\/woocommerce-product-import\/\" target=\"_self\">\n                Product Tour\n                <div class=\"docs-interstitial__text-link-arrow\">\n                    <svg width=\"13\" height=\"11\" viewBox=\"0 0 13 11\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M8 1.5L12 5.5L8 9.5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\n                    <path d=\"M11.5 5.5H1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><\/path>\n                    <\/svg>\n                <\/div>\n            <\/a>\n            <\/div>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"faq5\">What's the Correct Way to Handle Variable Products?<\/h3>\n\n\n\n<p>Variable products get stored in a certain way. To avoid issues or damaging your products, you should have a master import that you can re-run and allows handling all products from a single master file. <\/p>\n\n\n\n<p>You should use a <strong>New Items<\/strong> import type, as it's the only import type that can add\/remove variations for variable products. This is how imports are created out of the box, unless you change the matching options in the settings. That way, you can add\/remove\/edit variations without damaging the variable product itself.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq6\">How Do I Export Product Variations in WooCommerce?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to&nbsp;<strong>All Export \u203a New Export<\/strong>.<\/li>\n\n\n\n<li>Choose&nbsp;<strong>WooCommerce Products<\/strong>&nbsp;from the dropdown list.<\/li>\n\n\n\n<li>Select your export columns. Note that product attribute and variant columns are selected by default.<\/li>\n\n\n\n<li>Download the exported variable products from WooCommerce.<\/li>\n<\/ol>\n\n\n\n<p>For more information, see <a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-export-woocommerce-variable-products-csv-xml\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Export WooCommerce Variable Products<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq7\">How Do I Import Product Data Into WooCommerce?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to&nbsp;<strong>All Import&nbsp;\u203a&nbsp;New Import<\/strong>.<\/li>\n\n\n\n<li>Choose your import file and then select <strong>WooCommmerce Products<\/strong> as your import target.<\/li>\n\n\n\n<li>Map the incoming data elements to your WooCommerce product fields using drag &amp; drop.<\/li>\n\n\n\n<li>Run the import.<\/li>\n<\/ol>\n\n\n\n<p>To learn more, see <a href=\"https:\/\/www.wpallimport.com\/documentation\/how-to-import-woocommerce-products-csv-xml\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Import WooCommerce Products from CSV and XML<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq8\">How Do I Import a Product Image into WooCommerce?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to&nbsp;<strong>All Import&nbsp;\u203a&nbsp;New Import<\/strong>.<\/li>\n\n\n\n<li>Choose your import file and then select <strong>WooCommmerce Products<\/strong> as your import target.<\/li>\n\n\n\n<li>Map the incoming data elements to your WooCommerce product fields using drag &amp; drop. Make sure that you include the image data in this process.<\/li>\n\n\n\n<li>Run the import.<\/li>\n<\/ol>\n\n\n\n<p>For more information, see <a href=\"https:\/\/www.wpallimport.com\/documentation\/import-woocommerce-products-with-images\/\" target=\"_blank\" rel=\"noreferrer noopener\">Import WooCommerce Products with Images<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq9\">What Add-Ons Do I Need to Import WooCommerce Products?<\/h3>\n\n\n\n<p>To import WooCommerce products, you need to have the WooCommerce Import Add-On active on your site, along with WP All Import.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Import Variable Products \u2013 <\/strong>Related Docs<\/h2>\n\n\n\n\n\n<p>Learn how to export WooCommerce products.<\/p>\n\n\n\n\n\n<p>Learn how to import WooCommerce products.<\/p>\n\n\n\n\n\n<p>Describes how to export WooCommerce variable products.<\/p>\n\n\n\n\n\n<p>Learn how to export WooCommerce products with images.<\/p>\n\n\n\n\n\n<p>Learn how to import WooCommerce products with images.<\/p>\n\n\n\n\n\n<p>Describes how to bulk edit WooCommerce products.<\/p>\n\n\n\n\n\n<p>Describes how to migrate WooCommerce products from one website to another.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"videos\"><strong>Import Variable Products \u2013 <\/strong>Related Videos<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Import WooCommerce Variable Products from CSV\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/yEb6_4YYU5w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Import WooCommerce Variable Products from Google Sheets\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/XojHhLeA3x4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Instructions to Import Variable Products into WooCommerce\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/FaQ3F4BsdeQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Import WooCommerce Attributes for Variable Products\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/Ee8vRTg1a-g?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Import WooCommerce Product Stock and Price from CSV, Excel, or XML\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/RtVheHNGKWA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Export Variable Products in WooCommerce\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/99huiSi-8DQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Bulk Edit WooCommerce Products in Simple Steps\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/GH-ImZm1I_s?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Migrate WooCommerce Products to a Different Site\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/SF-vxfvfWdU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This article explains, step by step, how to import variable products in WooCommerce using WP All Import and the WooCommerce Import Add-On.<\/p>\n","protected":false},"author":96198,"featured_media":5357405,"parent":2991587,"menu_order":2,"template":"","tags":[138,140,139,141],"content_author":[213],"search_tags":[144,145,146,98,103],"class_list":["post-5330972","documentation","type-documentation","status-publish","has-post-thumbnail","hentry","tag-w-article","tag-w-faq","tag-w-howto","tag-w-video","content_author-editorial-staff","search_tags-w-article","search_tags-w-faq","search_tags-w-howto","search_tags-woocommerce","search_tags-woocommerce-products"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Import Variable Products into WooCommerce - WP All Import<\/title>\n<meta name=\"description\" content=\"This article explains, step by step, how to import variable products in WooCommerce using WP All Import and the WooCommerce Import Add-On.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Import Variable Products in WooCommerce\" \/>\n<meta property=\"og:description\" content=\"This article explains, step by step, how to import variable products in WooCommerce using WP All Import and the WooCommerce Import Add-On.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/\" \/>\n<meta property=\"og:site_name\" content=\"WP All Import\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/groups\/wpallimport\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T18:32:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How To Import Variable Products in WooCommerce\" \/>\n<meta name=\"twitter:description\" content=\"This article explains, step by step, how to import variable products in WooCommerce using WP All Import and the WooCommerce Import Add-On.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce-1.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"18 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"Editorial Staff\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/\",\"url\":\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/\",\"name\":\"How to Import Variable Products into WooCommerce - WP All Import\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce.jpg\",\"datePublished\":\"2022-07-20T00:48:42+00:00\",\"dateModified\":\"2025-12-08T18:32:52+00:00\",\"description\":\"This article explains, step by step, how to import variable products in WooCommerce using WP All Import and the WooCommerce Import Add-On.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#primaryimage\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce.jpg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce.jpg\",\"width\":1200,\"height\":630,\"caption\":\"How to Import Variable Products in WooCommerce\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wpallimport.com\/#website\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"name\":\"WP All Import\",\"description\":\"Import XML &amp; CSV to WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.wpallimport.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wpallimport.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.wpallimport.com\/#organization\",\"name\":\"WP All Import\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"width\":199,\"height\":37,\"caption\":\"WP All Import\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Import Variable Products into WooCommerce - WP All Import","description":"This article explains, step by step, how to import variable products in WooCommerce using WP All Import and the WooCommerce Import Add-On.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/","og_locale":"en_US","og_type":"article","og_title":"How To Import Variable Products in WooCommerce","og_description":"This article explains, step by step, how to import variable products in WooCommerce using WP All Import and the WooCommerce Import Add-On.","og_url":"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/","og_site_name":"WP All Import","article_author":"https:\/\/www.facebook.com\/groups\/wpallimport","article_modified_time":"2025-12-08T18:32:52+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_title":"How To Import Variable Products in WooCommerce","twitter_description":"This article explains, step by step, how to import variable products in WooCommerce using WP All Import and the WooCommerce Import Add-On.","twitter_image":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce-1.jpg","twitter_misc":{"Est. reading time":"18 minutes","Written by":"Editorial Staff"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/","url":"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/","name":"How to Import Variable Products into WooCommerce - WP All Import","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#primaryimage"},"image":{"@id":"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce.jpg","datePublished":"2022-07-20T00:48:42+00:00","dateModified":"2025-12-08T18:32:52+00:00","description":"This article explains, step by step, how to import variable products in WooCommerce using WP All Import and the WooCommerce Import Add-On.","breadcrumb":{"@id":"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/documentation\/import-variable-products-woocommerce\/#primaryimage","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce.jpg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2022\/07\/How-to-Import-Variable-Products-in-WooCommerce.jpg","width":1200,"height":630,"caption":"How to Import Variable Products in WooCommerce"},{"@type":"WebSite","@id":"https:\/\/www.wpallimport.com\/#website","url":"https:\/\/www.wpallimport.com\/","name":"WP All Import","description":"Import XML &amp; CSV to WordPress","publisher":{"@id":"https:\/\/www.wpallimport.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpallimport.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wpallimport.com\/#organization","name":"WP All Import","url":"https:\/\/www.wpallimport.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","width":199,"height":37,"caption":"WP All Import"},"image":{"@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5330972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/users\/96198"}],"version-history":[{"count":0,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5330972\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/2991587"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media\/5357405"}],"wp:attachment":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media?parent=5330972"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/tags?post=5330972"},{"taxonomy":"content_author","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/content_author?post=5330972"},{"taxonomy":"search_tags","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/search_tags?post=5330972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}