Files
medusa-store/packages/medusa-source-shopify
Oliver Windall Juhl afd1b67f1c chore: Clean up deps, devDeps, and peerDeps across all packages (#4276)
* chore: Use caret for all Medusa deps

* Create wild-balloons-push.md

* Address PR feedback

* force build order

* add missing dep

* add missing dev deps

* addresses last comments
2023-06-14 15:18:11 +02:00
..
2023-03-10 15:09:26 +01:00
2023-04-04 18:35:27 +02:00

Shopify Source

Migrate your products and categories from Shopify to Medusa.

Medusa Website | Medusa Repository

Features

  • Migrate data related to products from Shopify to Medusa.
  • Consistently keep data in sync between Shopify and Medusa.

Prerequisites


How to Install

1. Run the following command in the directory of the Medusa backend:

npm install medusa-source-shopify

2. Set the following environment variable in .env:

SHOPIFY_DOMAIN=<YOUR_SHOPIFY_DOMAIN>
SHOPIFY_PASSWORD=<YOUR_SHOPIFY_PASSWORD>

3. In medusa-config.js add the following at the end of the plugins array:

const plugins = [
  // ...,
  {
    resolve: 'medusa-source-shopify',
    options: {
      domain: process.env.SHOPIFY_DOMAIN,
      password: process.env.SHOPIFY_PASSWORD
    }
  }
];

Test the Plugin

1. Run the following command in the directory of the Medusa backend to run the backend:

npm run start

2. The data migration runs on server start-up. You should see your Shopify products in Medusa.