How to Export Complex Variable Products (Perfect for Woo↔Shopify Migrations)
How to Export Complex Variable Products from WooCommerce
"Simple" products are easy. One price, one SKU. "Variable" products are where migrations go to die.
A single T-Shirt product might have 5 sizes and 3 colors. That's 15 variations.
- Each variation has a unique SKU.
- Each might have a different price (e.g., 2XL costs more).
- Each has a specific inventory level.
The Data Problem
When you see a product page, you see one "Add to Cart" button. But behind the scenes, WooCommerce is using complex JavaScript to switch between these 15 hidden products.
Most basic scrapers only see the "default" price. They miss the variations entirely.
How WooScraperPro Solves This
We built a specialized engine just for WooCommerce variations.
When our tool visits a product page, it detects the form.variations_form. It iterates through the available JSON configuration on the page to extract:
- Attribute Names: (e.g., "Size", "Color")
- Attribute Values: (e.g., "Medium", "Blue")
- Variant-Specific Prices: It captures that the XL is $25.99 even if the Small is $19.99.
- Variant Images: It links the "Blue" image to the Blue variation.
Formatting for Import
Extracting is only half the battle. You need to import it somewhere else.
The "Handle" Concept
Platforms like Shopify link variations together using a Handle (a unique URL slug).
- Row 1: Handle:
blue-shirt, Option: Small - Row 2: Handle:
blue-shirt, Option: Medium
If your scraper doesn't generate this Handle column, your import will create 15 separate products instead of 1 product with a dropdown.
WooScraperPro generates the Handle automatically. We ensure that when you export your variable products, they stick together.
Why This Matters
If you mess this up, you have to manually merge products in your new store backend. For a catalog of 1,000 items, that is hundreds of hours of work. Do it right the first time with a tool that understands e-commerce structure.