Working locally

To work locally you will need to install themekit from Shopify. You can find out how at https://shopify.github.io/themekit/

Once you have the themekit application installed you'll need to configure the theme.

  1. Navigate to your code folder
  2. Create a new folder for the project
  3. You will need three pieces of information to run the configure command.
    1. The Admin API Password
    2. The URL of the store
    3. The ThemeId

Finding the Admin API Password

  1. Log into the Shopify Partners Site
  2. Select the site that you want to work on and click Log In
  3. On the left nav click Apps
  4. On this page, at the bottom of the list click Manage Private Apps
  5. Select the Theme app from the list
  6. Scroll down to the Admin API section and copy the API Password

The URL of the store

  1. You don't need the protocol park of the URL, just the main part for example bleh.myshopify.com

Finding the Theme ID

  1. Still in the stores admin (Steps 1 & 2 from above)
  2. Choose Online Store from the left navigation
  3. Find the theme you're working on in the list and select Customise
  4. Copy the ThemId from the URL e.g. the URL is https://bleh.myshopify.com/admin/themes/36953030726/editor we only need the numbers 36953030726

Configure the site

  1. Run the command below but replace the values with your own

theme configure --password=########### --store=bleh.myshopify.com --themeid=123456789101112

It is possible that this process might fail with a permission error.

Allowing access

  1. Again in the private app settings page (Steps 1-6 from Finding the Admin API Password)
  2. Ensure the setting Theme templates and theme assets has Read and Write access
  3. Re run the above configure command

Downloading the theme code

  1. Run the command theme download

That's it really.