This is a complimentary blog post to a video from the ShopifyDevs YouTube channel. In this article, Shayne Parmelee, a Developer Advocate at Shopify, will show you how to perform one of the most common tasks of Shopify developers—adding code from an app to a client’s theme when your app interacts with or adds functionality to the theme. He'll explore the two different options that are possible and highlight the benefits of both approaches.
Shayne will walk you through how to:
- Conditionally render a snippet using the
- Automatically remove code with
I'm here today to talk about one of the most commonly asked questions about the developer platform: how to get code from an app into a theme efficiently and easily.
There's many different ways that people are doing this right now. I'm going to talk about two of the most common ways and which one I think is better.
Option number one …