How can I use the options app with the Shopify Canvas editor?

Shopify's new Canvas editor does not have an App embeds menu or a way to add app blocks yet. The Live Product Options app still works on a theme that you edit in Canvas. There are two ways to set it up, depending on where your theme comes from:

Your option sets, settings and fonts are stored in the app, not in the theme, so they stay as they are in both cases.

Option 1: Enable the app in the theme editor, then duplicate the theme in Canvas

Canvas keeps all app settings of the theme that you duplicate. Set the app up in the regular theme editor first, then move the theme to Canvas.

  1. Open your Online Store 2.0 theme in the theme editor and enable the Live-Options App under App embeds. See How can I enable the options app in the theme editor?
  2. Add the Live Product Options app block to your product templates and save the theme. See Product Options Block in Theme Editor.
  3. In the Shopify admin, go to Online Store > Themes.
  4. Next to the theme, click the three dots (...) and select Duplicate in Canvas.

The copy opens in Canvas with the app embed and the app blocks already in place, and the product options work in the new editor. The original theme stays in your theme library.

Do this before you start designing in Canvas: changes that you make to the Canvas copy are not added to the original theme, and the app settings cannot be changed in Canvas afterwards without Sidekick (see option 2).

Option 2: Enable the app with a Sidekick prompt

For a theme that was created in Canvas, ask Sidekick, the assistant built into Canvas, to add the app for you.

  1. Open the theme in Canvas and select the product template that your products with options use.
  2. Copy the whole prompt below and send it to Sidekick.
  3. Open a product that has options configured. The options show above the add to cart button.
Make these two changes to this theme to set up the Live Product Options app.

1. Enable the app embed
In config/settings_data.json, add this entry inside "current" > "blocks":

"1787840288555608609": {
  "type": "shopify://apps/live-product-options/blocks/app-embed/88bfdf40-5e27-4962-a966-70c8d1e87757",
  "disabled": false,
  "settings": {}
}

- If "current" > "blocks" doesn't exist, create it.
- If it exists, keep every existing block and only add this one. Don't change or remove other app embeds or any other settings.
- If a block with the same "type" is already there (even with a different ID), don't add a duplicate. Just set its "disabled" to false.

2. Add the product options to the product page
In the product template I currently have open/selected (the one used by the product I'm viewing, which may be templates/product.json or an alternate like templates/product.<name>.json), add this app block directly above the add to cart / buy buttons:

"live_product_options_app_block_jQhyx8": {
  "type": "shopify://apps/live-product-options/blocks/app-block/88bfdf40-5e27-4962-a966-70c8d1e87757",
  "settings": {
    "product": "{{closest.product}}"
  }
}

- Find the block that renders the buy buttons / add to cart (it may be called buy_buttons, buy-buttons, product-form, or similar) and add the app block to the same "blocks" object that contains it, at the same nesting level.
- Insert "live_product_options_app_block_jQhyx8" into that same "block_order" immediately before the buy buttons block.
- If the add to cart button is a nested block inside buy buttons, place the app block before the buy buttons block itself, not inside it.
- If a block with this same "type" already exists, don't add a duplicate. Just make sure it sits right above the buy buttons.
- Don't change or remove any other blocks or settings.

Keep both files valid JSON, then save/commit the changes.

If you use more than one product template for products with options, select each of them and ask Sidekick to add the same app block there. The same goes for a featured product section on your home page.

Move or remove the product options in Canvas

Canvas has no controls for app blocks, so later changes also go through Sidekick. Ask in plain words, for example:

  • "Move the Live Product Options app block between the variant picker and the quantity selector."
  • "Remove the Live Product Options app block from this product template."
  • "In config/settings_data.json, set "disabled" to true on the Live Product Options app embed." This switches the app off for the whole theme.

Troubleshooting

  • No options show. The app embed is missing. The app block alone does not load the app. Send the prompt from option 2 again, and check that the product has an option set assigned.
  • The live preview or a custom location is off. A theme created in Canvas has a different page structure. Check the location settings in the app on the new theme.
  • Sidekick does not make the change. Send the prompt again in a new Sidekick chat and make sure the product template is selected.

If the options still do not show, contact our support with your store and product page link.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.