You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
In which of these areas are you experiencing a problem?
Theme
Expected behavior
I have two issues related to alt templates, e.g. collection.whisky.json.
Firstly I'm unable to pull down these templates, not sure if its also related to templates that have been created in the customiser. I'm using the following command to pull content down the theme:
When I try doing a push, I'm ignoring all the same as above to ensure nothings deleted, but low and behold it goes and deletes JSON templates when I use this command:
Fortunately have these themes syncing with Github so I can get them back. But this messes up my CI/CD pipeline and it can't be trusted because I'll lose templates on deployments.
Actual behavior
All templates should be pulled down, including the alt templates
JSON Templates should not be deleted because I passed the ignore flag for the templates folder including JSON files.
Verbose output
N/A
Reproduction steps
Pulling scenario:
Create another collection template in the customiser
Try doing a theme pull with shopify theme pull --only templates/*.json
Templates won't be pulled down
Pushing scenario
Push to a theme that doesn't have templates locally but exist remotely
Do a theme push with shopify theme push --ignore templates/*.json
Templates that exist remotely will be deleted
FYI I can't do a --nodelete here as I have to clean up the assets folder.
Operating System
Mac OS 15.1
Shopify CLI version (shopify --version)
3.72.2
Shell
No response
Node version (run node -v if you're not sure)
v20.11.1
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered:
Just to add more confirmation here, I again have created a new template based off the collection template in the customiser, I have then tried running the following command but nothing is pulled down:
shopify theme pull --only templates/*.json
This is a huge problem and definitely needs to be prioritized.
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
I have two issues related to alt templates, e.g.
collection.whisky.json
.Fortunately have these themes syncing with Github so I can get them back. But this messes up my CI/CD pipeline and it can't be trusted because I'll lose templates on deployments.
Actual behavior
Verbose output
N/A
Reproduction steps
Pulling scenario:
shopify theme pull --only templates/*.json
Pushing scenario
shopify theme push --ignore templates/*.json
FYI I can't do a
--nodelete
here as I have to clean up theassets
folder.Operating System
Mac OS 15.1
Shopify CLI version (
shopify --version
)3.72.2
Shell
No response
Node version (run
node -v
if you're not sure)v20.11.1
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: