Need Advice? CALL: +61 417949565

Riksi - web design and development

  • Home
  • ABOUT US
  • OUR WORK
  • BLOG
  • CONTACT US
  • Home
  • BLOG
  • Web developing
  • Shopify
  • Shopify – Get started

Shopify – Get started

Shopify – Get started

order to work with Shopify locally, we need to create a Private App API in shopify store first:

To do so, we need to log into the Shopify store, and create a private app. In the Shopify Admin, go to “Apps” and click on “Manage private apps.” From there, click “Create a new private app.” You’ll need to provide a title — I usually provide the name of the client and environment for clarity. Make sure to set the permissions of “Theme templates and theme assets” to have “Read and write access” in order to generate the appropriate API credentials, then click “Save.”

Then install the Theme Kit command line:

1
2
3
4
5
6
 
 
brew tap shopify/shopify
brew install themekit
 
 

We can get the current theme ID by the following command:

1
2
3
4
5
 
 
theme get --list -p=[your-API-password] -s=[you-store.myshopify.com]
 
 

Download the theme locally to add it to Git or develop locally

1
2
3
4
5
 
 
theme download -p=[your-api-password] -s=[you-store.myshopify.com] -t=[theme-ID]
 
 

Modify the file locally by theme watch

you can add the following code to the project folder to allow connect the project to shopify

1
2
3
4
5
 
 
theme configure --password=[your-api-password] --store=[your-store.myshopify.com] --themeid=[your-theme-id]
 
 

After adding that, there will be a new file in the folder root called config.yml

Now you can use the watch command to look for local changes and upload it to server:

1
2
3
4
5
 
 
theme watch
 
 

Shopify resources:

https://www.shopify.com.au/partners/shopify-cheat-sheet
https://shopify.github.io/liquid/tags/variable/

Tagged under: shopify
Nick
Wednesday, 16 January 2019 / Published in Shopify, Web developing

What you can read next

Show WordPress Page Content in Another Post Template
Using WordPress Functionality outside wp
Git Cherry pick

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archive

  • General
    • Smart Home
  • Web developing
    • command line
    • CSS
    • General
    • git
    • Javascript
    • Laravel
    • Magento
    • MySQL
    • PHP
    • Security
    • Shopify
    • Wordpress

Recent Posts

  • Install HomeAssistant on Raspberry pi

  • Shopify ERR_INVALID_ARG_TYPE Error

Riksi

Riksi is a creative, professional & cutting-edge custom web design and development company.

HERE TO HELP

  • BLOG
  • Contact Us
  • Our Work
  • About Us

New on Blog

  • Install HomeAssistant on Raspberry pi

    To install it, We need to connect the SD card t...
  • Shopify ERR_INVALID_ARG_TYPE Error

    fix the Internal Server Error occurred while in...

GET IN TOUCH

T: (+61) 417 949 565
Email: [email protected]

Contact Us
Fill out the form and our team will be in touch with you promptly. Thank you for your interest!

AU & NZ
T: (+613) 9014 9495
T: (+61) 417 949 565
Email: [email protected]


US & Canada
Email: [email protected]

NAME

EMAIL

PROJECT TYPE
PROJECT BUDGET

MESSAGE

Could not authenticate you.

Whats on Instagram

Loading...

Tags

.htaccess calculation cherry pick composer content css deployer documentation error flex general knowledge get started git git stash hack javascript log mysql package password php PHP Trick replace scss shopify sidebar ssh symlink sync trick ubuntu windows 10 wordpress trick wp
  • GET SOCIAL
Riksi - web design and development

© 2020 All rights reserved. Riksi.com.

TOP