Adding a product.json file to a 1.0 Shopify theme

Follow Shopify's official instructions to migrate to a 2.0 Shopify theme.

In order to install TryNow on a Shopify 1.0 theme, you will need to create a product.json file in your theme files.

TryNow relies on JSON templates for Try Before You Buy functionality. You can add a product.json file your theme to add support for these features by converting your product.liquid template into a JSON template, and moving any required Liquid code or HTML into sections that you can include in the new JSON template.

This tutorial uses Debut as an example, and moves code from a product.liquid template file into a product-template.liquid section file, which can then be included in a new product.json template. You can perform these actions in the Shopify CLI or the code editor.

Here is Shopify's help video: