> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.qikify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to use the Live Preview Mockup in Tepo

The **Live Preview Mockup** shows customers their personalization directly on the product image. As they type a name or upload a photo, the product image updates in real time, so they see exactly what they will get before they add to cart.
You set the layout once in the option set editor: drag, resize, and rotate each option on the preview. The storefront draws it exactly the way you see it in the editor.

|| Plan: The Live Preview Mockup is available on the Unlimited plan.

In this guide, we set up a personalized tote bag: the customer types a name and uploads a photo, and both are printed on the bag.

# Which options can show on the mockup?

| **Shown as** | **Option types** |
| ---- | ---- |
| Text | Single-line text, Multi-line text, Date, Dropdown list, Inline button, Radio button, Single checkbox |
| Image | Photo upload, Image swatch, Image dropdown |

Radio button and Single checkbox can show either the option **name** (text) or the option **image** (see *Show as* below).
These options can't show on the mockup: Checkboxes, Combobox, Color picker, Color swatch, Font selector, and File upload.

# Step 1: Turn on the mockup for an option

1. In Tepo, go to **Option sets** and open an option set (or create a new one).

2. Click an option, for example, a **Single-line text** option for the name.

3. Click **Show mockup settings**.

4. Check **Show on mockup**.

![Check "Show on mockup" in the option settings](https://storage.crisp.chat/users/helpdesk/website/-/3/3/f/6/33f605886cba4e00/image_13m495f.png)

The option now appears on the mockup preview. Repeat for every option you want on the product image (in our example: the name and the photo).

# Step 2: Choose the background

Under the mockup preview, click **Change background**. In the **Select background** window, pick one of these:
* **Product image:** pick one of the products assigned to this option set (*Select product (for alignment only)*). Its image is only used to line up the options in the editor. On the storefront, each product shows the mockup on its own photos.
  * **Apply to:** choose which product photos get the mockup: **All product images**, **First product image only**, **Last product image only**, or **Specific product image** (enter its position, starting from 1, in the order of your product media).
![Product image as the background, mockup on the first product photo only](https://storage.crisp.chat/users/helpdesk/website/-/3/3/f/6/33f605886cba4e00/image_1wy7uy6.png)

* **Custom image:** upload your own image. On the storefront, this image is the only mockup photo for every product in the option set.
![Custom image as the background](https://storage.crisp.chat/users/helpdesk/website/-/3/3/f/6/33f605886cba4e00/image_yvzvf6.png)

Click **Select** to apply. To clear it, click **Remove background**.

|| No background selected? The mockup is drawn on all photos of each product.

| Tip: Only products already assigned to the option set can be picked as the background. Assign products first in the Assign products tab.

# Step 3: Position and style each option

## On the preview
Click an option on the mockup preview, then:
* **Drag** it to move it.
* **Drag the corner handles** to resize it.
* **Drag the top handle** to rotate it.
Type sample values in the form next to the preview to see how a real order will look. Empty photo options show a sample image in the editor so you can position them.

![Settings on the left, live preview and form on the right](https://storage.crisp.chat/users/helpdesk/website/-/3/3/f/6/33f605886cba4e00/image_1sx1df8.png)

The option you are editing is moved to the top so it never gets hidden. On the storefront, options are layered in the order of your form: options lower in the form sit on top.

## Position and size
| **Setting** | **What it does** |
| ---- | ---- |
| Horizontal ( X ) / Vertical ( Y ) | Position of the option's **center**, in % of the background width/height. 50 / 50 is the center. |
| Rotate angle | Rotation in degrees. |
| Width / Height | Size in % of the background (image options). |

## Text settings
| **Setting** | **What it does** |
| ---- | ---- |
| Font source | **Theme default**, **Google Font** (search by name), or **Custom font** (upload a font file). This font is only for the mockup; it doesn't change the Font selector option. |
| Font size | Text size in px, measured on a 1000 px wide background, so it scales with the image. |
| Letter spacing | Space between characters, in px. |
| Text style | Bold, Italic, Underline, Strikethrough. |
| Text alignment | Left, center, right (Multi-line text only). |
| Text color / Opacity | Text color and transparency (0–100%). |
| Effect | **None**, **Stroke** (color and width), or **Shadow** (color, blur, offset X / Y). |
| Curve | Bend the text along an arc, from -100 to 100. Single-line text only. |
| Auto-fit max width | The font gets smaller when the text is wider than **Max width**. Single-line text only. |
| Wrap text in a fixed box | Long text wraps to new lines inside a box (**Box width / Box height**). Lines that don't fit the box height are hidden. |

![Mockup settings of the name option (Google Font "Pacifico")](https://storage.crisp.chat/users/helpdesk/website/-/3/3/f/6/33f605886cba4e00/image_1l14l74.png)

## Image settings
| **Setting** | **What it does** |
| ---- | ---- |
| Image display | How the image fills its area: **Stretch**, **Cover**, **Contain**, **Full width**, **Full height**. |
| Image shape | Crop the image to **Square**, **Rounded square**, **Circle**, **Heart**, **Star**, or upload your own shape (a PNG with a transparent background; the transparent area is cut out). |
| Opacity | Image transparency (0–100%). |

![Mockup settings of the photo option: Cover, circle shape](https://storage.crisp.chat/users/helpdesk/website/-/3/3/f/6/33f605886cba4e00/image_1h1mp2n.png)

## Show as (Radio button and Single checkbox)
* **Text:** draws the selected option name.
* **Image:** draws the selected option image.

# Step 4: Save and check your store

1. Click **Save**.

2. Open a product that uses this option set on your online store.

On the product page, the product gallery is replaced by the mockup gallery. When customers fill in the options, the mockup updates instantly. Customers can type and upload, but they can't move or resize anything: the layout is always the one you set.

![What customers see: their name and photo on the tote bag](https://storage.crisp.chat/users/helpdesk/website/-/3/3/f/6/33f605886cba4e00/image_4s71ej.png)

# Good to know

* **What you see is what customers get.** The storefront draws the mockup exactly like the editor preview.

* **Empty options aren't drawn.** On the storefront, nothing is drawn for an option until the customer fills it in.

* **Orders don't change.** The mockup is only a preview. It doesn't add any extra property or image to the cart or the order.

* **Fonts:** Google and custom fonts may take a moment to load the first time.

* **Removed a product from the option set?** If that product was the background, its image is no longer shown. Pick a new background.

# Troubleshooting

1. **The mockup doesn't appear on my product page.**

* Check that you are on the **Unlimited** plan.

* Check that at least one option has **Show on mockup** checked, and the option set is **Published** and applied to this product.

* If you picked **Apply to > Specific product image**, make sure the product has that many images.

* Some custom themes use a non-standard product gallery. Contact us via live chat and our team will set it up for your theme.

2. **The text looks smaller or larger than I expected.**
Font size is relative to the background width. Check the result on the preview. Auto-fit also shrinks long text to the max width.

3. **My uploaded shape is rejected.**
The shape must be a PNG with a transparent area. Images without transparency can't be used as a shape.

| Need help? Contact us via live chat in the app, and we'll be happy to help you set up your mockup.