Switching to Shopify – and back, if you have to

A migration has four piles: products, customers, order history and old URLs. The first three move with CSV and the API. The fourth is the one that costs traffic if forgotten. Below: what moves from the platforms Danish shops most often leave, a timeline, and the recipe with code that runs against Shopify’s Admin API…

Last checked:

Where to clickFrom Wix
  • Products
    • More Actions
  • Content
  1. Products
  2. More Actions
  3. Export

Export

Where are you coming from?

Shopify spells out the order itself: products first, then customers, then old orders – otherwise orders cannot be tied to the right items and buyers. Products and customers move by CSV; historical orders, blog posts, pages and gift cards only through a migration app or the API.

Switching to Shopify by platform

FromProduct exportWhat does not move on its ownGuide
WooCommerceCSV from WooCommerce, but no URL slug columnPasswords, orders (app/API), plugin featuresThis page, section 3
WixCSV, at most 5,000 rows per file; digital products are not exportedPasswords, orders, blog, old URLsThe Wix section below
DanDomain, SmartWeb, WannafindCSV or XML from the Export menuPasswords, gift cards, reviewsDanDomain to Shopify
Another Shopify storeAdmin GraphQL or CSVOrders older than 60 days without an extra scopeSection 2
Shopify Help (migration checklist and Wix guide), Wix Help (product export), Dandomain Webshop help and the WooCommerce CSV schema, checked 19.11–01.12.2026.

From Wix

Wix exports products under Products → More Actions → Export, with at most 5,000 rows per CSV file, and digital products cannot be exported. Wix’s help page does not say whether images come along, so open the file and look. Wix URLs are shaped differently from Shopify’s, and Shopify advises setting up redirects before you move the domain. More on Wix at wix.best-choice.dk and on DanDomain at dandomain.best-choice.dk.

Timeline

This is how we plan the move of a smaller shop. It is a plan, not a promise – the amount of data sets the pace.

  1. Week 1: export, count and clean the products; build the list of old URLs.
  2. Week 2: import into a new password-protected Shopify store, with payments, shipping and accounting set up and tried with test orders.
  3. Launch day: a fresh export of whatever changed, the redirect file imported, the domain pointed over and the password removed.
  4. The next 14 days: watch 404 errors in Search Console and count orders in Shopify and in the books.

Order history or many thousands of products make it longer. You get the fixed price after the free check; the package below is the starting point.

Moving a web shop to a new platform

From e.g. DanDomain/SmartWeb to WooCommerce or Shopify without losing Google rankings.

from 8,995 DKK excl. VAT

  • Products, customers, orders and images moved
  • Redirects from every old address and a Search Console check
  • Payments, shipping and accounting set up on the new platform

Before you start: clean up

We have not moved a shop to Shopify ourselves. But we have read Shopify catalogues from the outside and cleaned up WooCommerce shops, and the mess is the same. In a Danish workwear webshop we maintain, 56 % of variant combinations were dead and 69 % of products had no description. In WooCommerce a published “any/any” variation without a price makes the whole product unbuyable, and a variation without a price looks like a sold-out one. Count them before the export, or you move them too.

Shopify allows at most three options per product and 250 images. If your products have four options – colour, size, length and fit – they must be split before import.

1. Count products from the outside

A public Shopify catalogue can be read as products.json without logging in. We used it to compare prices and price history in a Danish jewellery brand’s catalogue. In another project we counted a public Shopify store’s catalogue the same way: 98 products. The feed shows only what the shop has published – not cost prices, customers or orders. It is enough to check that everything arrived after an import.

# Number of published products on page 1 (fetch more with &page=2, 3 …)
curl -s "https://your-shop.dk/products.json?limit=250&page=1" | jq '.products | length'

2. Export products with the Admin GraphQL API

From a Shopify store you own, fetch everything through the Admin API. The REST API has been “legacy” since 1 October 2024, and new public apps must be built on GraphQL. Create an app in the admin with read access to products, and keep the token in an environment variable – never in the script.

#!/usr/bin/env bash
# Export all products and variants to products.csv (needs curl and jq)
# 25 products x 30 variants keeps the query under Shopify's query-cost ceiling.
# If a product has more than 30 variants, fetch those separately.
SHOP="your-shop.myshopify.com"
API="https://$SHOP/admin/api/2026-10/graphql.json"
TOKEN="${SHOPIFY_ADMIN_TOKEN:?set SHOPIFY_ADMIN_TOKEN in .env}"
cursor=null
echo '"handle","title","status","sku","price","barcode"' > products.csv
while :; do
  body=$(jq -n --argjson after "$cursor" '{
    query: "query($after: String) { products(first: 25, after: $after) {
      pageInfo { hasNextPage endCursor }
      nodes { handle title status variants(first: 30) { nodes { sku price barcode } } } } }",
    variables: { after: $after } }')
  res=$(curl -s -X POST "$API" \
    -H 'Content-Type: application/json' \
    -H "X-Shopify-Access-Token: $TOKEN" \
    -d "$body")
  echo "$res" | jq -r '.data.products.nodes[] | . as $p | .variants.nodes[]
    | [$p.handle, $p.title, $p.status, .sku, .price, .barcode] | @csv' >> products.csv
  [ "$(echo "$res" | jq -r '.data.products.pageInfo.hasNextPage')" = "true" ] || break
  cursor=$(echo "$res" | jq '.data.products.pageInfo.endCursor')
  sleep 1   # go easy on the rate limit
done
wc -l products.csv

Order history is harder: by default the API only gives access to the last 60 days of orders. Older orders need the read_all_orders scope, which Shopify grants on request. Apply early.

3. CSV mapping from WooCommerce

WooCommerce’s standard export has no column for the product’s URL slug, so you must build “URL handle” yourself or fetch it through WooCommerce’s REST API. The rest maps reasonably well:

WooCommerce columns to Shopify columns

WooCommerceShopifyNote
NameTitleRequired
(none)URL handleRequired; build it from the old URL so the 301s are easy
DescriptionDescriptionHTML allowed
SKUSKUPer variant
Regular pricePriceDot as decimal separator
Sale pricePrice + Compare-at priceSale price in Price, regular price in Compare-at price
CategoriesCollection or Product category“Category” imports as Collection
TagsTagsMax 250 per product
ImagesProduct image URLOne row per image
Attribute 1 name / value(s)Option1 name / Option1 valueMax three options
StockInventory quantityNeeds Inventory tracker
Weight (kg)Weight value (grams)Multiply by 1,000
WooCommerce Product CSV Import Schema and Shopify Help (product CSV), checked 19.11.2026.

If you open the file in Danish Excel, it is often saved with semicolons and decimal commas. That is exactly the format we use for Danish Excel exports in our own product JaKonto: UTF-8 with BOM, semicolons and decimal commas. Shopify’s template uses commas and dots, so save as CSV UTF-8 with commas, or build the file with a script.

4. Customers

The customer CSV has columns such as “First Name”, “Last Name”, “Email”, “Accepts Email Marketing” (yes/no) and address fields. Passwords cannot be moved; customers must be invited to create a new one. Only put “yes” in the consent columns where you can document consent. Coming from Magento? Magento 2.4.7+ requires a region for Denmark – a field a Danish address otherwise does not need.

5. 301 redirects

Shopify imports redirects from CSV under Content → Menus → URL redirects, up to 100,000. Use the column names from Shopify’s sample file. A redirect only works from URLs that return 404 – if the page still exists, nothing happens. This script builds the file from a list of old path and new handle:

import csv

# old-urls.csv from Danish Excel: old path;handle  (e.g. /produkt/bluse-sort/;bluse-sort)
with open("old-urls.csv", encoding="utf-8-sig", newline="") as f, \
     open("redirects.csv", "w", encoding="utf-8", newline="") as out:
    w = csv.writer(out)
    w.writerow(["Redirect from", "Redirect to"])
    for row in csv.reader(f, delimiter=";"):
        if len(row) < 2 or not row[0].strip().startswith("/"):
            continue  # skip header and empty lines
        w.writerow([row[0].strip(), "/products/" + row[1].strip()])

Coming from DanDomain, SmartWeb or Wannafind? Their URLs carry numbers and the category in the path. The fields, the export and a script that builds handles and the redirect file straight from a DanDomain export are on DanDomain to Shopify.

6. Price with and without VAT in the theme

If you also sell to businesses, the product page can show both prices. The example assumes prices in Shopify include 25 % Danish VAT – multiplying by 0.8 gives the price excluding VAT.

{%- comment -%} Price incl. and excl. 25 % moms on the product page {%- endcomment -%}
<p class="price">
  {{ product.price | money }} incl. VAT
  · {{ product.price | times: 0.8 | money }} excl. VAT
</p>

If your old shop has address autofill, check what it relies on: DAWA has answered 410 Gone since 1 October 2026. Our own product danadresse has a script with adapters for both Shopify and DanDomain/SmartWeb, but we have not tested it on a live Shopify store.

7. Check after the move

Count products, variants and customers at both ends and spot-check prices. “Import succeeded” is not the same as “everything arrived” – in a salon reminder workflow every run showed “success” while 12 of 207 SMS were never sent.

Sources

Last reviewed: 2026-12-04

Questions about migrating to Shopify

Can customers keep their passwords?

No. Passwords cannot be moved by CSV. Customers must be invited to create a new one.

Can I move old orders?

Not with the standard product and customer CSV. Many shops keep the old order history as an export in their books and start fresh in Shopify. If orders must come along, use a migration app or the API.

What happens with Google when I move?

Old URLs return 404 until you have 301 redirects. Build the list before the move and import it the day the shop goes live.

Can I leave Shopify again?

Yes. Products and customers export as CSV, and everything else can be fetched through the Admin API as in the script above. If the road leads back to WooCommerce, see woocommerce.best-choice.dk – the redirects are then set up on the WordPress side.

How long does a switch to Shopify take?

For a smaller shop we plan two weeks, the launch day and 14 days of follow-up. Order history and large catalogues stretch it.

Fixed price, no commitment

Get a free Shopify check

Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.

  • A fixed price before we start
  • An answer by e-mail, no calls
  • Your details are used only to answer you

Fields marked with * are required.

What is it about?