Usage
How it works
Section titled “How it works”A migration is one job: you connect a source store, check a dry run, map what needs mapping, and start the import. The job reads the source through its API, writes into CS-Cart with the core functions, and keeps a map from source ids to CS-Cart ids. Stop it, let it pause for a rate limit, restart the server: it continues where it stopped. Run it again later: only what changed is updated. Roll it back: what it created is removed.
Migrate a store
Section titled “Migrate a store”- Open Settings → Migrate a store and pick the source.
- Shopify: new apps are created in the Shopify Dev Dashboard (dev.shopify.com), because Shopify no longer lets you create custom apps in the store admin. Create an app in the same Shopify organization as the store, give it read access to products, customers and orders (and
read_all_ordersfor orders older than 60 days), install it on the store, then copy the Client ID and Client secret from the app’s Settings. Enter theyour-store.myshopify.comaddress, the Client ID and the Client secret. The add-on exchanges them for an Admin API access token with the client credentials grant (POST /admin/oauth/access_token); the token is valid about 24 hours and is renewed automatically, before it expires and once more if Shopify refuses it, so a long migration keeps working. The grant works only when the app and the store belong to the same Shopify organization. If you still have a custom app that was created in the Shopify admin before Shopify closed that path, enter its Admin API access token (shpat_..., it does not expire) instead of the Client ID and secret. Shopify returns only the last 60 days of orders unless your app has theread_all_ordersscope. - WooCommerce: WooCommerce → Settings → Advanced → REST API → Add key with Read permission. Enter the https address of the site, the consumer key and secret, and the weight unit set under WooCommerce → Settings → Products.
- BigCommerce: Settings → API → Store-level API accounts → Create API account with read-only access to Products, Customers, Orders and Information. Enter the store hash (the code in
https://api.bigcommerce.com/stores/<store hash>/v3/) and the access token. - Choose the vendor (Multi-Vendor) or storefront (Ultimate) the migration belongs to and click Connect and check. On CS-Cart Ultimate an administrator who is bound to one store sees and migrates into that store only (other stores’ jobs, logs and categories are not visible to them); migrating needs the catalog privilege, plus the customers privilege for customers and the order-editing privilege for orders (and order deletion to roll orders back). The add-on calls the source once; a wrong token or a missing permission is reported here and no job is created.
- On the job page choose what to migrate and the options, then Run a dry run. It reads a sample of every entity, writes nothing, and shows what would be created, updated or skipped, with warnings (a product without images, a variant without SKU, an order line whose product is not in the sample).
- The dry run also lists the source categories and order statuses. Map a source category to an existing category if you do not want a new one, and choose the CS-Cart status for each order status. Save settings.
- Start the import. The progress bar and counters update while the page is open; the cron continues the job when it is closed.
- When the job is Completed, check the counters and the log (Download log (CSV)), open a few products, an imported order and a category, and test the old addresses.
What happens to each kind of data
Section titled “What happens to each kind of data”| Source data | In CS-Cart |
|---|---|
| Categories | A tree (Shopify collections are flat). An existing category with the same name under the same parent is reused. |
| Products with options and variants | One catalogue product with a variation group: each variant is a product, the options (Size, Color, …) are features used to group them. Needs the Product variations add-on; without it only the first variant is imported and the log says so. |
| Products without options | A product with price, list price (compare-at price), stock, weight, status, description, SEO name, page title and meta description. Descriptions are cleaned (scripts, event attributes, unsafe frames) with the filter the core uses for vendor input; on a Multi-Vendor import into a vendor this cannot be turned off, elsewhere it is the option Clean product and category descriptions (on by default). |
| Images | Downloaded from the source (public addresses only), de-duplicated, the first one is the main image. |
| Attributes, tags, product type, brand | Text features. |
| Customers | Customer accounts with their address. No password is copied and no e-mail is sent: customers use “Forgot your password?” on the storefront. A customer who already exists (same e-mail address) is adopted, never changed. A record without a valid e-mail address is skipped. |
| Orders | History only, with the original date, totals, addresses, customer link, lines linked to the imported products, and the status you mapped. The staff notes say where the order came from. Stock is not changed, payments and shipping are not processed, no notification is sent, and a status change you make later (for example Processed to Canceled) does not put stock back that the import never took. No vendor payout is created for an imported order. Amounts are not converted: the source currency is in the notes. |
| Reviews | Into the Product reviews add-on with rating, text, author and date (WooCommerce and BigCommerce; Shopify’s Admin API has none). |
| Old addresses | 301 redirects to the new product or category (needs the SEO add-on). |
Common tasks
Section titled “Common tasks”Check before you commit
Section titled “Check before you commit”Run the dry run as often as you like. It never writes to your catalogue. Change the mapping and run it again.
Run the import again
Section titled “Run the import again”Open the finished job and click Run again. A new job reads the source again: unchanged records are skipped, changed records update the imported copy, new records are created. Nothing is created twice. Use this for a final catch-up just before you switch your domain.
Update existing products with the same SKU
Section titled “Update existing products with the same SKU”Off (the default) is the safe setting. On, a product that already exists in your store with the same SKU is rewritten completely: title, description, price, stock, categories, status and SEO name. A rollback cannot restore what it overwrote. A product the job itself created just before an interruption is recognised and taken over in either setting; products that were there before are never touched while the option is off.
Roll an import back
Section titled “Roll an import back”Open the job and click Roll back. It removes only what that job created: products (and their variation groups), categories, customers who have no other orders, orders, reviews, redirects, and features that nothing uses any more. A category that still has products or sub-categories is kept and logged. Things that existed before the job, or were created by another job, are not touched. Imported orders are removed without putting stock back (the import never took any).
A job is paused
Section titled “A job is paused”Status Paused means the source asked for time (rate limit) or a Shopify bulk operation is still running. The job continues by itself. Resume puts a failed or cancelled job back in the queue; it continues from its saved position.
Switch the shop over
Section titled “Switch the shop over”- Run the migration, check the result.
- Point your domain at CS-Cart.
- Run the job again to catch the orders and customers of the last days.
- Keep the old store read-only for a while: the 301 redirects send visitors and search engines to the new addresses.