---
title: "Export WooCommerce Products to a Shopify CSV (with Variants)"
url: "https://wpimportexport.com/export-woocommerce-products-to-shopify-csv/"
description: "Export WooCommerce products to Shopify's CSV format: one row per variant, URL handle, Option1 name and value, price, stock and Shopify column names."
type: post
published: 2026-12-01T07:00:00+00:00
modified: 2026-11-26T08:32:10+00:00
categories: ["WooCommerce"]
tags: ["CSV Export"]
docs_topics: ["WooCommerce"]
---

# Export WooCommerce Products to a Shopify CSV (with Variants)

Moving a store from WooCommerce to Shopify starts with the product catalog. Shopify imports products from a CSV file in its own format: one row per variant, every row of a product sharing the same **URL handle**, and the variant options in **Option1 name** / **Option1 value** columns. WooCommerce’s own export has none of these columns. **Import Export by RockStarLab PRO** can write the file in that shape: one row per variation, the parent’s title and slug on each row, and option columns you rename to Shopify’s headers.

**PRO:** the WooCommerce product export is part of the PRO plugin. We tested with Import Export by RockStarLab 2.2.14 and PRO 2.1.32 on WordPress 7.1.

## Short Answer

In **Export**, choose **WooCommerce Products**. Add the columns Product Title, Product Slug, Content, SKU, Option 1 Name, Option 1 Value, Regular Price, Stock Quantity and Featured Image URL, and rename them to Shopify’s headers with the pencil icon. Add custom columns for Vendor, Status and Inventory tracker. On the Format step, choose CSV and tick **One row per variation**.

## What Shopify Expects

A Shopify product CSV describes each variant on its own row. The rows of one product share a **URL handle**. A T-shirt in three sizes is three rows with the handle `organic-cotton-t-shirt`, Option1 name `Size` and Option1 values `S`, `M` and `L`, each with its own SKU, price and stock. A product without variants is one row with empty option columns. See Shopify’s help page on [using CSV files for products](https://help.shopify.com/en/manual/products/import-export/using-csv) for the full column list.

## Step 1: Choose the Products

In **Import Export by RockStarLab > Export**, choose **WooCommerce Products**. Add filters if you only want part of the catalog, for example Status equals Published. For the test we exported three products: two variable products (a T-shirt in three sizes and a daypack in three colors) and one simple product.

## Step 2: Add and Rename the Columns

On the Fields step, drag in these fields and rename each with the pencil icon:

| Field | Rename to | Why |
| --- | --- | --- |
| Product Title | Title | The parent’s title, also on variation rows |
| Product Slug | URL handle | The parent’s slug, the same on every row of a product |
| Content | Description | The product description (HTML) |
| SKU | SKU | The variation’s own SKU |
| Option 1 Name / Value | Option1 name / Option1 value | First variation attribute, such as Size and S |
| Option 2 Name / Value | Option2 name / Option2 value | Second variation attribute, if any |
| Regular Price | Price | The variation’s price |
| Stock Quantity | Inventory quantity | Stock of each variation |
| Featured Image URL | Product image URL | The product image |

Then click **Add Custom** three times for columns with the same value in every row: **Vendor** (your brand), **Status** = `active` and **Inventory tracker** = `shopify`, so the quantities are used as tracked stock.

![Export columns renamed to Shopify headers: Title, URL handle, Description, SKU, Option1 name and value, Option2 name and value, Price, Inventory quantity, Product image URL, Vendor, Status, Inventory tracker](https://wpimportexport.com/wp-content/uploads/2026/11/woocommerce-export-shopify-columns.webp)

_WooCommerce fields renamed to Shopify’s column names._

The option columns follow the order of the variation attributes on the product. Attributes that are only shown on the product page, such as Material, are not options and are skipped. A variation set to “Any” for an attribute gets an empty value in that column.

## Step 3: One Row per Variation

On the Format step, choose **CSV** and tick **One row per variation**:

![Export option One row per variation, checked](https://wpimportexport.com/wp-content/uploads/2026/11/woocommerce-export-one-row-per-variation.webp)

_Each variation becomes its own row._

The file for our three products had seven rows:

```
Title,"URL handle",Description,SKU,"Option1 name","Option1 value",…,Price,"Inventory quantity",…,Vendor,Status,"Inventory tracker"
"Organic Cotton T-Shirt",organic-cotton-t-shirt,"<p>Organic cotton T-shirt…",TPL-TEE-S,Size,S,…,22.00,15,…,"Hafen Coffee",active,shopify
"Organic Cotton T-Shirt",organic-cotton-t-shirt,"<p>Organic cotton T-shirt…",TPL-TEE-M,Size,M,…,22.00,20,…
"Organic Cotton T-Shirt",organic-cotton-t-shirt,"<p>Organic cotton T-shirt…",TPL-TEE-L,Size,L,…,24.00,8,…
"Nordlicht House Blend 250 g",nordlicht-house-blend-250-g,,NL-HB-250,,,…,11.90,,…
"Basalt Daypack 24L",basalt-daypack-24l,"24-litre daypack…",BDP-BLACK,Color,Black,…,119,27,…
…
```

## How We Checked the File

We did not import into a Shopify store. Instead we imported the file into a second WooCommerce site with the plugin’s own Shopify import, which reads Shopify’s product CSV format. It rebuilt the catalog: the T-shirt as a variable product with a Size attribute (S, M, L) and three variations with their SKUs, prices 22, 22 and 24 and stock 15, 20 and 8; the daypack with Color; and the coffee as a simple product.

## With WP-CLI or an AI Agent

The whole Shopify file comes from one WP-CLI command: `variation_rows` gives one row per variation, `column_headers` renames the columns, and the three `custom_` columns get fixed values:

```
wp rsl-ie export --type=product --fields=product_title,product_slug,post_content,_sku,option1_name,option1_value,_regular_price,_stock,featured_image_url,custom_vendor,custom_status,custom_tracker --options='{"variation_rows":true,"filters":[{"field":"post_status","condition":"equals","value":"publish"}],"column_headers":{"product_title":"Title","product_slug":"URL handle","post_content":"Description","_sku":"SKU","option1_name":"Option1 name","option1_value":"Option1 value","_regular_price":"Price","_stock":"Inventory quantity","featured_image_url":"Product image URL","custom_vendor":"Vendor","custom_status":"Status","custom_tracker":"Inventory tracker"},"custom_values":{"custom_vendor":"Hafen Coffee","custom_status":"active","custom_tracker":"shopify"}}' --name=shopify-products --user=admin
```

On our test store with Import Export by RockStarLab 2.2.64 and PRO 2.1.57, export job 88107 wrote 19 rows for 16 published products: one row per simple product and one per variation of the variable product, each with the parent’s title and handle, its own SKU, Option1 value, price and stock, and Vendor, Status and Inventory tracker filled in.

An AI agent connected through the WordPress MCP Adapter builds the same file from a request. WordPress itself gives the agent only read-only abilities for site, user and environment information; the product export, the variation rows and the renamed columns come from the plugin:

```
With Import Export by RockStarLab, export the published WooCommerce products as a Shopify product CSV: one row per variation, columns Title, URL handle, Description, SKU, Option1 name, Option1 value, Price, Inventory quantity and Product image URL, plus Vendor = Hafen Coffee, Status = active and Inventory tracker = shopify.
```

## What to Check Before Importing into Shopify

- **Weight:** Shopify’s weight column, Weight value (grams), is in grams. WooCommerce stores the weight in the unit set under WooCommerce > Settings > Products, so convert it before adding a weight column.
- **Images:** Shopify downloads image URLs during the import, so the old store must be online and the image addresses public.
- **More than three options:** Shopify allows three options per product; the export fills Option 1 to 3.
- **Categories:** Shopify uses collections and a product type instead of categories, so plan your collections before the import.

## FAQ

### How do I export WooCommerce products to Shopify?

Export WooCommerce Products with one row per variation and the columns renamed to Shopify’s headers: Title, URL handle, Description, SKU, Option1 name, Option1 value, Price and Inventory quantity. Then import the CSV in Shopify under Products.

### How are WooCommerce variations exported for Shopify?

Each enabled variation becomes one row with the parent’s title and slug, its own SKU, price and stock, and its attribute values in the Option columns.

### Can I export only some products?

Yes. Use filters on the Filters step, for example by category, status or stock, or by product IDs.

### Can I export customers and orders for the move too?

Yes. WooCommerce Customers and WooCommerce Orders are exports of their own in the same plugin, with the same renamed columns, so you can match Shopify’s customer CSV.

## Related Guides

- [Shopify to WooCommerce: Import Products via CSV](https://wpimportexport.com/shopify-to-woocommerce-import-products-csv/)
- [How to Export WooCommerce Products for Google Merchant Center](https://wpimportexport.com/export-woocommerce-products-google-merchant-center/)
- [How to Export WooCommerce Products to CSV, Excel, or XML](https://wpimportexport.com/how-to-export-woocommerce-products-to-csv-excel-or-xml/)

Get the free plugin on [WordPress.org](https://wordpress.org/plugins/import-export-by-rockstarlab/). The WooCommerce product export is part of PRO.
