App embed and product block: what each one does

Sol: Product Options puts its options on your product page with two theme pieces that share the name "Product options": an app embed and an app block. This article explains what each one does and which to use.

The two pieces

App embed App block
Where you find it Theme editor > App embeds Theme editor > product page > Add block > Apps
Name Product options (by Sol: Product Options) Product options
Placement The widget is placed in the product form, before the buy buttons Exactly where you drop the block on the product page
Settings in the theme editor None. Change the look in Settings > Design. None. Change the look in Settings > Design.
Page layout Reserves space with CSS in the product form until the widget loads Prints an empty placeholder of the options' height

Both work only on the product page template, and both load the widget only for products that have an option set. A product with no options loads no widget code and nothing changes on the page. Without the embed or the block, customers see no options.

Which one to use

If you add the block, the widget is placed where the block is instead of in the product form.

Turn them on

  1. Go to Settings > General and click Open theme editor in the App embed section.
  2. In App embeds, switch on Product options and click Save.
  3. To add the block, open a product page in the theme editor, click Add block in a section that accepts app blocks, choose the Apps tab and select Product options. Click Save.

Come back to the app. The embed status updates by itself. For another theme, open the theme in Online Store > Themes with Customize, then open App embeds.

To turn the embed off, switch Product options off in App embeds and save.

See How to turn on the app embed and How to add the Product options block to your theme for step-by-step guides.

Related articles

How to match the widget to your theme →