> For the complete documentation index, see [llms.txt](https://docs.globo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.globo.io/options/option-sets/live-preview-and-inspector.md).

# Live preview and inspector

Preview your option form directly in the app before publishing it to your store. You can also click any option in the preview to quickly find and edit its settings.

The preview on the right is a working version of your widget, not just a static mockup. It runs your conditional logic, updates add-on prices, and displays each option type as it will appear on your storefront.

Using the live preview makes it easier to test your option form and fine-tune its settings without constantly switching between the builder and your storefront.

## Before you start

Make sure you have an option set open in the builder with at least one option added.

## What the preview does

<table><thead><tr><th width="270">It does</th><th>It does not</th></tr></thead><tbody><tr><td>Render every option type as customers see it</td><td>Use your theme's fonts, colors, or spacing — it uses the app's own styling</td></tr><tr><td>Run conditional logic, so you can test show and hide rules</td><td>Add anything to a real cart</td></tr><tr><td>Show add-on price previews and the running total</td><td>Charge anything</td></tr><tr><td>Run validation, so you can see your error messages</td><td>Apply your customer or country rules</td></tr><tr><td>Draw the Personalizer live preview on the background image</td><td>Show other option sets that also apply to a product</td></tr></tbody></table>

{% hint style="info" %}
Because the preview does not use your theme's styling, differences in font and color between the preview and your storefront are expected. To align the widget with your theme on the storefront, see [Match your theme style](/options/storefront-display-and-design/match-your-theme-style.md).
{% endhint %}

## The four header controls

<table><thead><tr><th width="230">Control</th><th>What it does</th></tr></thead><tbody><tr><td>Editor / preview toggle</td><td>On narrow screens, switches between the settings panel and the preview. On wide screens both are visible at once.</td></tr><tr><td>Desktop / mobile toggle</td><td>Renders the preview at desktop or mobile width. Worth checking both — column widths and swatch sliders behave differently.</td></tr><tr><td>Inspector toggle</td><td>Turns the click-to-edit overlay on and off. See below.</td></tr><tr><td>Language switcher</td><td>Renders the preview in one of your storefront languages, using your translated labels and values.</td></tr></tbody></table>

<figure><img src="https://3141646361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMyxhAk2ZlJa4wZQGfBI%2Fuploads%2Fgit-blob-1e8fbba2b7f9cbbf8002d7054092d75b2fd2c8c0%2F2026-08-28_13-46-30.png?alt=media" alt="The builder header controls for editor and preview, viewport, inspector, and language"><figcaption><p>The header controls change what the preview shows, not what customers get.</p></figcaption></figure>

## The inspector

Turn on the inspector to make the preview interactive. Hover over an option to highlight it, then click it to open its settings in the panel. This lets you quickly go from spotting an issue in the preview to editing the corresponding option.

The inspector also displays a small action bar on the highlighted option:

<table><thead><tr><th width="200">Action</th><th>What it does</th></tr></thead><tbody><tr><td><strong>Duplicate</strong></td><td>Copies the option, exactly like the panel's duplicate action.</td></tr><tr><td><strong>Half width</strong></td><td>Sets the option's <strong>Column width</strong> to 50%.</td></tr><tr><td><strong>Full width</strong></td><td>Sets the option's <strong>Column width</strong> to 100%.</td></tr><tr><td><strong>Hide</strong></td><td>Hides the option from the storefront while keeping it in the set.</td></tr><tr><td><strong>Delete</strong></td><td>Removes the option.</td></tr></tbody></table>

Half width and full width are the most commonly used column widths, so they are available directly in the inspector. For more control, you can choose from the full range of widths — 25%, 33%, 50%, 66%, 75%, and 100% — in the option's **Advanced tab.** See [Column width](/options/option-types/shared-settings/direction-width-and-css.md#column-width).

<figure><img src="https://3141646361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMyxhAk2ZlJa4wZQGfBI%2Fuploads%2Fgit-blob-658b2b53fe5a1a431dc34b0466582187dd80386a%2F2026-08-28_13-50-34.png?alt=media" alt="The inspector highlighting an option in the preview with its action bar"><figcaption><p>With the inspector on, the preview becomes a second way to edit.</p></figcaption></figure>

## Testing conditional logic in the preview

This is one of the preview's most useful features. Conditional rules are evaluated live, so you can:

* Select the trigger option and see the dependent option appear.
* Deselect it and confirm that the dependent option disappears.
* Change a dropdown value and check which conditional branch is displayed.

There are two types of conditions the preview cannot test because it does not have real customer context:

* **Conditions based on Shopify variants** — the preview does not have a selected variant, so variant-based conditions are not evaluated. Test these on a real product page using **View in Store**. See [Conditions based on Shopify variants](/options/conditional-logic/conditions-on-shopify-variants.md).
* **Customer and country rules** — these determine whether the entire option set is displayed and are evaluated only on the storefront.

## Preview matching products

When your product rule uses **Automatic Rules**, you can check which products currently match your conditions before saving the rule.

Open **Preview matching products** to see a list of matching products, including each product's image, title, vendor, type, and status. Click **Preview** on any product to open its storefront page.

{% hint style="warning" %}
This preview is not available when your automatic conditions include a **Collection** condition. The app displays a notice when this is the case. To verify collection-based rules, open a product from the collection and click **View in Store** instead.
{% endhint %}

<figure><img src="https://3141646361-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkMyxhAk2ZlJa4wZQGfBI%2Fuploads%2Fgit-blob-c4ee9e9e6e01c67541a657288a8dfaf3440c738a%2F2026-08-28_13-54-59.png?alt=media" alt="The Preview matching products dialog listing the products an automatic rule catches"><figcaption><p>Check an automatic rule against your real catalog before saving.</p></figcaption></figure>

## View in Store

**View in Store** in the builder header opens a real product page on your storefront where the option set is applied.

This is the most accurate way to test your option set. Use it to check:

* the widget's position within your theme
* how it looks with your theme's fonts and colors
* variant-based conditional logic
* the actual add-to-cart flow and what is added to the cart

For **View in Store** to work, the option set must be **Active**, published to the **Online Store**, and the [app embed](/options/getting-started/enable-the-app-embed.md) must be enabled.

## When the preview switches itself off

The live preview is disabled for very large option sets. The app counts each option, with each value in a selection option counted separately, and stops rendering the preview when the total reaches around 100.

This is intentional. Rendering hundreds of swatches on every keystroke would slow down the builder and make it difficult to use. Your option set will still save and work normally on the storefront — only the in-app preview is disabled.

If this happens, either split the option set into two smaller sets or test it using **View in Store**.
