---
title: "Storefront setup"
description: "Turn on the SureBright Offering app embed in your Shopify theme, confirm it is on from the Merchant Portal, and fix an offer that is not showing"
---

Shoppers see SureBright protection offers on your Shopify storefront once you switch on **SureBright Offering** in your theme. It is an app embed that comes with the **SureBright - Extended Warranty** app you installed. With it on in your live theme, the offer shows near **Add to cart** on product pages, in the cart, and in the other places you have set up with SureBright.

The easy way is from the Merchant Portal. Under **Settings → Storefront setup**, the **Turn on in Shopify ↗** link next to each theme opens Shopify's theme editor on the right panel with SureBright already switched on, so all you do is click **Save**. The portal also tells you, theme by theme, whether it is on.

<Note>
Is your storefront headless, for example built on Hydrogen? There is no theme embed to switch on. See [Headless and Hydrogen](/shopify/headless-hydrogen).
</Note>

## Turn SureBright on in your theme

<Steps>
  <Step title="Open the Merchant Portal">
    Go to **Settings** and find the **Storefront setup** section. It only appears for Shopify stores.
  </Step>
  <Step title="Pick a theme">
    Under **Protection on product pages**, every theme in your store is listed with its role (**Live theme**, **Not published** or **Development theme**) and a status badge. Click **Turn on in Shopify ↗** next to the theme you want. The Shopify theme editor opens with the SureBright Offering embed already selected.
  </Step>
  <Step title="Save in Shopify">
    Make sure the **SureBright Offering** switch is on, then click **Save** in the top-right corner of the theme editor.
  </Step>
  <Step title="Come back and check">
    Return to the Merchant Portal tab. It checks your themes again when you return (Shopify can report the save a few seconds late). You can also click **Check again**.
  </Step>
</Steps>

<Tip>
  Your **live theme** is the one shoppers see. Turning the embed on in an unpublished or development theme only affects previews of that theme.
</Tip>

To confirm it works, open a product page in the theme editor preview. You should see the SureBright protection offer near the **Add to cart** button.

## What the status badges mean

| Badge | Meaning | What you can do |
| --- | --- | --- |
| **Turned on** | SureBright Offering is on in that theme. | Nothing. To switch it off, click **Turn off in Shopify ↗**, which opens the theme editor's App embeds panel. |
| **Not turned on** | The embed is available but off. | Click **Turn on in Shopify ↗**. The theme editor opens with the embed selected. |
| **Can't check right now** | The portal could not read the theme from Shopify. | Click **Open in Shopify ↗** to look in the theme editor yourself, or try **Check again** in a moment. |

Each theme has its own badge. There is no single on or off status for the whole store.

## Custom themes and page builders

There is no separate SureBright block or snippet to add, whatever your theme is built with. The same steps work on a custom theme, a heavily edited theme, and product pages built in a page builder app:

<Steps>
  <Step title="Turn the embed on in the theme">
    Follow [Turn SureBright on in your theme](#turn-surebright-on-in-your-theme) for the theme the pages belong to. Page builder pages use your theme's embed too.
  </Step>
  <Step title="Send SureBright the pages">
    Email [support@surebright.com](mailto:support@surebright.com) with the URL of a product page built the new way, and say where the offer should sit, for example above **Add to cart**. Include bundle or landing pages if they are built differently. SureBright sets the offer's position for those pages on its side.
  </Step>
  <Step title="Check the page">
    Open the page, pick a different variant or option, and add the product with a plan. Check that the plan in the cart is for the product you picked. If it is not, send SureBright the URL and what you did.
  </Step>
</Steps>

Do this again when you redesign a product page or move it to a page builder, because the offer's position was matched to the old page. See [After a theme or platform change](/platforms/after-a-theme-or-platform-change).

## Add protection to checkout (Shopify Plus)

If your store is on Shopify Plus, the same **Storefront setup** section shows a second card, **Protection in checkout**, with one row: **SureBright Protection Block and Badge**. Click **Open checkout editor ↗** to add them. This row shows no status, because Shopify does not tell the portal whether the blocks are placed in your checkout. See [Checkout extensions](/shopify/checkout-extensions) for the full steps.

## Troubleshooting

<AccordionGroup>
  <Accordion title="No offer on product pages">
    - In **Settings → Storefront setup**, check the badge next to your **Live theme**. If it says **Not turned on**, click **Turn on in Shopify ↗**, switch the embed on and **Save**.
    - If the embed is **Turned on** only in a theme marked **Not published** or **Development theme**, shoppers will not see it. Turn it on in the live theme as well.
    - If you recently saved in the theme editor, click **Check again**. Shopify can take a few seconds to report the change.
    - If the badge is right and the offer is still missing, work through [Offer not showing?](/help/offer-not-showing).
  </Accordion>
  <Accordion title="Badge says Can't check right now">
    The portal could not read your themes from Shopify. Click **Open in Shopify ↗** to see the App embeds panel directly, or try **Check again** later. If it persists, contact [support@surebright.com](mailto:support@surebright.com).
  </Accordion>
  <Accordion title="Offer shows on product pages but not on another page type">
    Depending on how your store is set up, SureBright may run only on product, cart, collection and home pages, plus the page types SureBright has added for your store. Ask [support@surebright.com](mailto:support@surebright.com) to add the page type you need.
  </Accordion>
  <Accordion title="I published a new theme">
    The embed setting belongs to each theme. When you publish a new theme, check its badge in **Storefront setup** and turn the embed on there if needed.
  </Accordion>
  <Accordion title="My theme has an older SureBright script as well as the embed">
    Stores set up before the app embed existed may have a SureBright script added to the theme. Load SureBright once: the **SureBright Offering** embed is the current way. Before you remove an older script or turn the embed on alongside it, ask [support@surebright.com](mailto:support@surebright.com) to check your store, so the offer does not disappear in between. See [Analytics and page speed](/merchant-portal/analytics-and-page-speed).
  </Accordion>
  <Accordion title="Where do I turn it off?">
    Next to a theme with the **Turned on** badge, click **Turn off in Shopify ↗**. The theme editor's App embeds panel opens. Switch **SureBright Offering** off and **Save**.
  </Accordion>
</AccordionGroup>

## Related

- [Checkout extensions (Shopify Plus)](/shopify/checkout-extensions): offer protection inside checkout.
- [Shopify admin housekeeping](/shopify/admin-housekeeping): three Shopify settings that keep plans working.
- [Shopify Help: App embeds](https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/apps#app-embeds): Shopify's own description of app embeds.

<Accordion title="For developers">
  The embed adds one script tag that loads the SureBright storefront SDK. Which SDK file loads, and on which page types, is set by SureBright for each store and is not something you set yourself. The SDK files and the page rules are listed in [SDK Installation](/frontend-widget-integration/frontend-widget-kit/sdk-installation).

  Three details that page does not carry: the script loads with `defer`; a page-type list applies only to the `v0`, `v1` and `v2` SDK files, and when no list is set for the store the SDK loads on every page; the Merchant Portal's default SDK version for a store is `v2`.
</Accordion>
