🛍️
Owen Hydrogen Shopify Theme
  • Overview
  • Installation
  • Import Sanity Sample Data
  • Deploy to Production
  • Theme Settings
  • Mega Menu Settings
  • Sanity CMS Modules
  • Algolia Search
  • Other Features
  • Setup Customer Account API
  • Setup Multiple Languages
    • For Owen Theme
    • For Sanity CMS
    • For Shopify (product, collection, filter, blog)
    • For Algolia Search
  • FAQ
  • Custom Hydrogen Request?
Powered by GitBook
On this page

Import Sanity Sample Data

This page will help you import Owen Theme Sanity sample data.

PreviousInstallationNextDeploy to Production

Last updated 8 months ago

*Note: Before continue, please make sure that you have installed in your system.

If you want to import Owen Theme Sanity sample data, please follow the steps bellow:

Step 1: Copy production.zip file from sanity-sample-data folder in Owen Hydrogen theme pack, then paste it to the root folder of your Sanity Studio.

Step 2: Extract production.zip file then copy/paste 3 folder/files to the root folder of your Sanity Studio:

Step 3: Open terminal from root folder of your Sanity Studio then run the command line below (please make sure that you have deployed your Sanity Studio before):

sanity dataset import ./data.ndjson production --replace --allow-failing-assets

If you want to export sanity data (for backup), you can do by running the command line below from root folder of your Sanity studio:

sanity dataset export production production.zip

Learn more:

https://www.sanity.io/docs/importing-data
Sanity CLI