Migration guide

Export OpenCart products to Shopify

What you’ll need

  • A product export from your old platform

    How to get this: A product export from your old platform
    1. WooCommerce, Magento, Wix, Squarespace, BigCommerce, Etsy, Square, GoDaddy and Volusion have a product export (CSV) in their admin; Salesforce Commerce Cloud exports catalog, price book and inventory XML. PrestaShop and OpenCart use the read-only query on this page. Each platform’s checklist in the migration hub gives the exact menu.
    2. Download it to your computer. Nothing is uploaded here.
  • Shopify’s product importer, to load the result

    How to get this: Shopify’s product importer, to load the result

    It’s in Products › Import. Export a backup first: an import can’t be cancelled once it starts.

    Step-by-step guide (opens in a new tab)

  • Shopify’s URL redirect importer, to load the result

    How to get this: Shopify’s URL redirect importer, to load the result

    It’s in Content › Menus › URL redirects › Import. Export a backup first: an import can’t be cancelled once it starts.

    Step-by-step guide (opens in a new tab)

Convert an OpenCart query result

Run the query in phpMyAdmin

  1. Open phpMyAdmin from your hosting control panel and click your OpenCart database.
  2. Open the SQL tab, paste the OpenCart 3 or OpenCart 4 query from the converter page (change oc_ if your prefix differs), and click Go.
  3. Below the result, click Export, choose Custom, format CSV, and tick “Put columns names in the first row”.
  4. Download the file. If you forget the column names, the converter adds them back.

What carries over

  • Name, description (HTML decoded), meta title and description, tags, manufacturer, model or SKU, EAN or UPC.
  • Select, radio and image options as variants, with the base price plus each value’s amount and weight.
  • Stock per value when a product has one option; specials as sale prices on OpenCart 3.
  • Main and extra images from /image/, full category paths as collections, disabled products as drafts, and redirects from each SEO keyword.

What needs another step

  • Products with 2 or more options: stock is untracked because OpenCart counts it per value; set it in Shopify.
  • Checkbox, text, textarea, file and date options: need a product options app.
  • Attributes: recreate them as metafields.
  • OpenCart 4 specials: set sales in Shopify.

Then import into Shopify

  1. In Shopify, go to Products › Import and choose the test file (first product only). Leave “Overwrite products with matching handles” off.
  2. Open that product in Shopify and check its variants, prices, stock and images.
  3. Import the full file. Shopify emails you when it finishes.
  4. Open the collections file in the Collections Bulk Builder to create a smart collection for each old category.
  5. Import the redirects file under URL redirects so old links and Google results land on the new pages.

More guides