Shopify CLI - Pushing Theme with Customizations

Shopify CLI - Pushing Theme with Customizations

Ig1
Tourist
7 0 1

We are using Shopify CLI to develop a new theme based off of Dawn 3.0. We are editing the code on local machine, using "shopify theme serve" to test, and making customizations to the theme using the Online Store Editor. When we push the theme to our Shopify store using "shopify theme push" it does not push any customizations that are made in the Online Store Editor. Is there anyway to include these customizations in the push, so that we do not need to manually repeat all changes on the uploaded them? We are trying to avoid having to manually copy settings_data.json and product template JSON pages each time.

Replies 2 (2)

melis-morgan
Tourist
4 0 0

I'm having the same issue. Would love some guidance on this issue too.

Ig1
Tourist
7 0 1

My current solution is to use github to host the repo, and connect that repository as a shopify theme. When I make changes to the theme I push it to the github repo (which get forwarded to shopify). When I make changes on shopify theme customizer in the shopify admin, it updates the repo and I can pull those changes to my local machine. Not the cleanest workflow but it works.