Skip to main content
You can export any cart as a JSON file and import that file into the same store or a different one. This is useful for:
  • Transferring a cart configuration between Shopify stores
  • Keeping a backup of a cart you want to restore later
  • Sharing a cart setup with another store

Exporting a cart

  1. Go to the Carts page.
  2. Find the cart you want to export and open its action menu (the three-dot menu on the cart row).
  3. Click Export.
Aftersell downloads a .json file named after the cart and the export timestamp (for example, spring_drop_2026-09-03-10-20-30.json). Keep this file — it’s what you upload when importing.

Importing a cart

  1. Go to the Carts page.
  2. Click Import cart.
  3. Choose the .json file you exported, or drag and drop it into the upload area.
  4. Aftersell shows a preview of what will be imported, including any notes about settings that were adjusted for this store.
  5. Click Import to create the cart as a draft.
The imported cart is created as a draft named imported {original name} — for example, importing a cart called “Spring drop” creates a draft called “imported Spring drop”. This prefix makes it easy to tell the imported draft apart from any existing cart with the same name. You can rename it at any time from the cart editor.
Cart files exported from Aftersell are forward-compatible. Files exported before this update (v1 files) can still be imported.

What carries over

The import copies the full cart layout, blocks, design settings, custom CSS, and custom scripts. Settings that are specific to the source store — such as product references in upsell blocks — are noted in the import preview so you can review and update them after importing. Custom templates (JSX blocks written outside the editor, such as those generated with the AI prompt) are compiled automatically on import. If a template compiles successfully, it is turned on. If it doesn’t compile, it is left off and the import summary shows a warning with the block name so you can fix the code, compile it manually in the Code tab, and turn it on.

What doesn’t carry over

  • Published status: imported carts are always created as drafts. Publish the cart manually when you’re ready.
  • Test history and analytics: cart test results and analytics data are not included in the export file.
  • Store-specific references: product IDs, metaobject GIDs, and other Shopify-specific identifiers from the source store are stripped from the file. You’ll need to reconfigure any blocks that reference specific products or content.

Troubleshooting

“That cart file has settings this store can’t read” This error means the file references a block type or configuration that isn’t available on this store. The error message includes a detail about which setting caused the problem. Check that the file was exported from an Aftersell Cart and hasn’t been manually edited. “That cart file is missing required settings and can’t be imported” The file is incomplete or corrupted. Try re-exporting from the source store and importing the fresh file. “That file is too large to import” The file exceeds the size limit. This can happen if the cart has a very large amount of custom code. Simplify the cart before exporting, or contact support. “That cart file is nested too deeply to import” The cart’s blocks are nested too deeply for the importer. Simplify the cart’s block structure before exporting, or contact support. “That file was exported by a newer version of Aftersell” The file was exported from a store running a newer version of Aftersell than this store. Wait for your store to update, or contact support.