PLEASE NOTE: this is advanced technical documentation. Refer to your tech team for any questions you might have.
If your shop is using a Hybrid Theme, or a Shopify 2.0 Theme, but your app doesn’t support the theme app extension yet, or you prefer to customise your installation, you can follow the guidelines of the Store 2.0.
On Shopify Store 2.0 themes, you can use the blocks feature (see doc) to develop your own custom block and add to it your vintage snippet.
Please keep in mind, you might require some support from your developer or agency to properly take advantage of this feature.
The overall is concept is the same as the code snippet copy/paste used for the Vintage Themes, but with a custom block you have the versatility to “drag and drop” depending on your configuration. Also, you could extend configurations as you wish, keeping in mind all of our documentation about customization.
The steps are simple, but feel free to follow the Dawn theme on Shopify if you need an example, as they have implemented a “Custom liquid”. (See Figure 1.0)
If you choose the custom option, please remember to copy and paste both snippets (button and widget) in your custom liquid to avoid potential issues, e.g.
By adding the button and the script in the same block, you will ensure that the Sizefox size recommender works properly and that you can use all the drag and drop features provided by Shopify.