Shopify / themekit

Shopify theme development command line tool.
https://shopify.dev/tools/theme-kit
MIT License
1.2k stars 375 forks source link

Unified Admin Support #974

Open anthony-kyle opened 2 years ago

anthony-kyle commented 2 years ago

Describe the bug With the new feature of Unified Admin changing the URL structure to admin.shopify.com and replacing the ...myshopify.com url, themekit does not support this, as the domain does not end in .myshopify.com

alt

To Reproduce Steps to reproduce the behavior:

  1. run command 'theme new --password=mypassword --store=admin.shopify.com/store/ --name=theme'
  2. Receive error on domain

Expected behavior A clear and concise description of what you expected to happen. It to successfully locate and download the theme.

Environment (please complete the following information):

binarymonkey84 commented 1 year ago

Have you tried:

theme new --password=mypassword --store=<store_name> --name=theme

i.e. without the admin.shopify.com/store/

By the way, if you're working on newer themes then I'd suggest looking at using Shopify CLI 3.0 for themes.