---
title: "Design targeting"
description: "Give one Shopify theme, or one kind of product page, its own offer design. All your other pages keep your live design."
---

<Note>Early access. Ask your SureBright contact to turn this on for your store.</Note>

Sometimes one part of your store looks different from the rest, like a new theme or a special range of products. Design targeting lets the protection plan offer match that part, without changing it anywhere else.

You can give its own design to:

- **a Shopify theme**: the overall look of your store in Shopify.
- **a product page template**: a page layout in your theme that you use for some of your products.

Shoppers on every other page keep seeing your live design.

## What you can do

| You want to | Choose | Go to |
| --- | --- | --- |
| Try a design on a new theme before that theme goes live | **A Shopify theme** | [Give a theme or template its own design](#give-a-theme-or-template-its-own-design) |
| Give a holiday or seasonal theme its own look | **A Shopify theme** | [Give a theme or template its own design](#give-a-theme-or-template-its-own-design) |
| Show the offer differently for one group of products, for example products that use a `product.premium` template | **A product page template** | [Give a theme or template its own design](#give-a-theme-or-template-its-own-design) |
| Check which pages see which design | | [Which design a shopper sees](#which-design-a-shopper-sees) |
| Turn a targeted design off | | [See or stop a targeted design](#see-or-stop-a-targeted-design) |

## Give a theme or template its own design

In [Studio](/merchant-portal/studio), open the **Designs** tab. Pick the draft (a saved design that is not live) you want to use and click **Publish for…**. A panel called **Publish `design` for…** opens.

<Steps>
<Step title="Choose a theme or a template">
**For a Shopify theme**, fill in **Theme id**. This is the theme's number. To find it, in Shopify go to **Online Store › Themes › Customize**. The number comes after `/themes/` in your browser's address bar. You can also paste the whole address.

**For a product page template**, fill in **Template suffix**. This is the last part of the template's name. For example, if a product's **Theme template** in Shopify says `product.premium`, type `premium`. Typing `product.premium` also works.
</Step>
<Step title="Give it a name (optional)">
Use **Name this rule** to add a label, such as "Holiday theme" or "Premium range". This makes it easy to find later.
</Step>
<Step title="Make it live">
Click **Publish for this rule**. Shoppers on that theme or template now see this design.

Your live design gets a new saved version that remembers this choice. The targeted design stays a draft, so you can keep changing it.
</Step>
</Steps>

You must fill in a theme id or a template suffix before you can publish. So a targeted design can never replace your design on every page by mistake.

## Which design a shopper sees

- A page on a targeted theme or template shows the design you chose for it.
- Every other page shows your live design, just as before.
- Each theme or template can have only one design. If you publish another design for the same one, it replaces the first.
- A page can match two choices, for example a targeted template on a targeted theme. Then the one listed first wins.
- If you delete a targeted design, shoppers on that theme or template see your live design. A page never ends up with no offer.
- Template names work with or without capital letters. A theme id must match exactly.

## See or stop a targeted design

| Where to look | What you see |
| --- | --- |
| The targeted draft's card | **Live on a theme** or **Live on a template**. Hover over it to see which one. |
| Your live design's card | **Also live, by rule**: every targeted design and where it shows, each with a **Stop** button. |

Click **Stop** to turn a targeted design off. Shoppers on that theme or template go back to your live design.

A targeted design is still a draft. Changes you make to it do not go live on their own. When you want shoppers to see them, click **Publish for…** again, or make it your live design.

## If your store is custom-built

On a normal Shopify theme, targeting a theme needs no extra setup. Targeting a template works when your theme tells the SureBright offer which template a page uses.

Some stores are custom-built and do not use a normal Shopify theme for the pages shoppers see (these are called headless stores, for example built with Hydrogen). On these stores, your developer must tell the offer both the theme and the template.

<Accordion title="For developers">
How to pass the theme and template to the widget is in the [JavaScript API reference](/frontend-widget-integration/frontend-widget-kit/javascript-injection#platform-and-page-overrides). Set them only when your store has a design for a specific theme or template.
</Accordion>

## Related

<CardGroup cols={2}>
  <Card title="Studio" href="/merchant-portal/studio">
    Make and change the designs you target.
  </Card>
  <Card title="Design tests" href="/merchant-portal/design-tests">
    Show two designs to different shoppers and see which gets more orders to add a plan.
  </Card>
</CardGroup>
