Development discussions around Shopify APIs
I am thinking of developing a theme for my store and wonder if keeping version control should be strictly private for a store of if it's okay to have it in GitHub.
Solved! Go to the solution
This is an accepted solution.
Reminder Do Not place in public accessible areas themes from the theme store or other themes of which you do not have redistribution rights.
FYI: Github offers private repos for free accounts, since the microsoft acquisition afaik. github.com/pricing
In general for a public repo as long if you follow best practices it's not dangerous.
Meaning your theme contains no secrets: private api keys, customer names, confidential business logic, or privately licensed code from vendors or apps of which you do not have redistribution rights etc.
Confidential business logic can be something as minor as logic that operates on a special customer tag to offer discounts that should not be public.
Another consideration is if you are connecting the theme on the shopify store to the github integration in which case ALL stakeholders or theme contributors MUST be aware that whatever they put in the theme will be on the PUBLIC repo; thus they need to follow privacy practices as well.
This is an accepted solution.
Reminder Do Not place in public accessible areas themes from the theme store or other themes of which you do not have redistribution rights.
FYI: Github offers private repos for free accounts, since the microsoft acquisition afaik. github.com/pricing
In general for a public repo as long if you follow best practices it's not dangerous.
Meaning your theme contains no secrets: private api keys, customer names, confidential business logic, or privately licensed code from vendors or apps of which you do not have redistribution rights etc.
Confidential business logic can be something as minor as logic that operates on a special customer tag to offer discounts that should not be public.
Another consideration is if you are connecting the theme on the shopify store to the github integration in which case ALL stakeholders or theme contributors MUST be aware that whatever they put in the theme will be on the PUBLIC repo; thus they need to follow privacy practices as well.
Thanks, a great answer and it will be helpful to others in the future.
Also see the Dawn reference repo github.com/Shopify/dawn for examples of generic theme code meant for public view.
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023