/seacra

Primary LanguageLiquid

Seacra

<<<<<<< HEAD

=======

0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607

To Get Theme Access Credentials

Click on this Link: https://docs.google.com/document/d/1muXDbmKyXT6RT9hfiQKff_Ak2gVAJHEcefcsByTaXwQ/edit

<<<<<<< HEAD

Configure

Anchor link to section titled "Configure"

Creates or updates configuration files.

Terminal

Copy

$theme configure --password=[your-theme-kit-password]--store="[your-store.myshopify.com]"--themeid=[your-theme-id]

Running the theme configure command outputs a config.yml file in the current directory with the following contents:

Copy

1 development:
2 password:[your-theme-kit-password]
3 theme_id: "[your-theme-id]"
4 store: [your-store].myshopify.com

=======

0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607

Step 1: Windows

Anchor link to section titled "Windows"

Install Theme Kit with Chocolatey by running the following command:

Terminal

Copy

<<<<<<< HEAD
$choco install themekit
=======
$ choco install themekit

Configure

Anchor link to section titled "Configure"

Creates or updates configuration files.

Terminal

Copy

$ theme configure --password=[your-theme-kit-password] --store="[your-store.myshopify.com]" --themeid=[your-theme-id]

Running the theme configure command outputs a config.yml file in the current directory with the following contents:

Copy

1 development: [seacra]
2 password:    [your-theme-kit-password]
3 theme_id:    "[your-theme-id]"
4 store:       [your-store].myshopify.com
>>>>>>> 0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607

Step 2: Get a Theme Kit password

Anchor link to section titled "Step 2: Get a Theme Kit password"

After you install Theme Kit, you need to get a Theme Kit password to connect Theme Kit to your store and manage your template files. The store owner or a staff member with the appropriate permissions can create a Theme Kit password for you using the Theme Kit Access app.

Steps:

Anchor link to section titled "Steps:"

  1. Ask the store owner or a staff member with the appropriate permissions to create a Theme Kit password for you using the Theme Kit Access app.
  2. Go to your email inbox and open the invitation containing your Theme Kit password.
  3. In the invitation, click Get Theme Kit password .
  4. Copy the password. You’ll use it in the next step.

The link expires after 7 days or after you have viewed the password. You can only view the password once.

Step 3: Connect to an existing theme

Anchor link to section titled "Step 3: Connect to an existing theme"

Note

If you don't want to work on an existing theme, then you can create a new theme.

To connect to an existing theme, you'll need the theme's ID. The easiest way to get your theme's ID is to use the theme get command, which returns a list of themes and IDs that exist on the store.

The following is an example of the theme get command, where your-password is your Theme Kit password from step 2 and your-store is your store's Shopify domain name:

Terminal

Copy

<<<<<<< HEAD
$ theme get --list--password=[your-password]--store="[your-store.myshopify.com]"
=======
$ theme get --list --password=[your-password] --store="[your-store.myshopify.com]"
>>>>>>> 0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607

Using PowerShell

Anchor link to section titled "Using PowerShell"

If you're using PowerShell, then you need to include quotations around the URL if it follows a single dash. This is especially important if you're using the short form in the command. For example, the following shows one example that will work, and one that won't:

Correct example

Copy

<<<<<<< HEAD
$ theme get --list-p=[password]-s="my-store.myshopify.com"
=======
$ theme get --list -p=[password] -s="my-store.myshopify.com"
>>>>>>> 0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607

Incorrect example

Copy

<<<<<<< HEAD
$ theme get --list-p=[password]-s=my-store.myshopify.com
=======
$ theme get --list -p=[password] -s=my-store.myshopify.com
>>>>>>> 0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607

Step 4: Set up your config file

Anchor link to section titled "Step 4: Set up your config file"

A config.yml file creates a local connection to your Shopify store’s theme. You can use the previous information you collected (Theme Kit password and theme ID) to create a config.yml file in your theme, and then download the theme locally.

Steps:

Anchor link to section titled "Steps:"

  1. Create a directory for your theme:

    Terminal

    Copy

<<<<<<< HEAD $ mkdir[your-theme-name]

$ mkdir [your-theme-name]

0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607

2. Navigate to the new directory:

Terminal

Copy

```bash
<<<<<<< HEAD
$ cd[your-theme-name]
=======
$ cd [your-theme-name]
>>>>>>> 0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607
  1. To download a specific theme, and create the config.yml file that connects this theme with a local version in the directory you just created, run the following command:

    Terminal

    Copy

<<<<<<< HEAD $ theme get --password=[your-password]--store="[your-store.myshopify.com]"--themeid=[your-theme-id]

$ theme get --password=[your-password] --store="[your-store.myshopify.com]" --themeid=[your-theme-id]

0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607



## Step 5: Create a new theme

[Anchor link to section titled &#34;Step 5: Create a new theme&#34;](https://shopify.dev/themes/tools/theme-kit/getting-started#step-5-create-a-new-theme)

To create a new theme, run the following command:

Terminal

Copy

```bash
<<<<<<< HEAD
$ theme new --password=[your-password]--store="[your-store.myshopify.com]"--name=[theme name]
=======
$ theme new --password=[your-password] --store="[your-store.myshopify.com]" --name=[theme name]
>>>>>>> 0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607

Open

Anchor link to section titled "Open"

Opens the preview page for your theme in your browser and prints out the URL for your reference.

Terminal

Copy

<<<<<<< HEAD
$ theme open--env=production # opens http://your-store.myshopify.com?preview_theme_id=[your-theme-id]

=======

$ theme open --env=production --password=[your-password] --store="[your-store.myshopify.com]" --name=[theme name]

>>>>>>> 0cd34ca3eea5ecfb0b07c9922db2be28ff7e5607