The **Sample** block shows the sample product linked to a wallpaper, with its image, title, price and an **Add sample** button. Shoppers can order a sample to check the color and texture at home before buying full rolls. Samples are separate products in WallTropic, so they have their own price, stock and image.

## Turn it on

1. Create a sample product and link it from the wallpaper with the `walltropic.sample_product` metafield. See [Link sample products](/docs/walltropic/link-sample-products).
2. In the theme editor, open the product template, and under **Product information** click **Add block** > **Sample**. The default product template already includes it.

The block shows the sample product linked in the `walltropic.sample_product` metafield. It's hidden when no sample is linked, and on products whose format is `sample`.

![Sample panel beside the product title and price: a sample image, "Palm Grove Wallpaper Sample" at $5.00, an Add sample button and a View sample product link](https://cdn.kbkit.dev/kb/zr3mQVqAvbPd/fb08ffa3d72f18c908aba28ef490f4bb33703ab3.webp)

## Settings

| Setting | What it does |
|---|---|
| **Sample size text** | For example "A4 sample, 21 × 29.7 cm". Shown under the sample's price. |
| **Desktop position** | **Beside product info** (default) shows the sample panel in its own column on wide screens. **Inline** shows it in the details column, where you place the block. Always shown inline on smaller screens. |

## What shoppers see

- The sample's image, title and price.
- **Add sample**, which adds one sample to the cart straight away. When the sample is sold out, it shows "Sample sold out" instead.
- **View sample product**, a link to the sample's own page.

## Other places samples appear

- **Product cards** show an **Order sample** link with the sample's price on wallpaper with a linked, available sample. Turn it off with **Show "Order sample" link** in the section. See [Product cards](/docs/walltropic/product-cards).
- **Quick view** shows the same **Order sample** link.
- **Cart drawer** recommendations can show **Add sample** buttons. See [Cart recommendations](/docs/walltropic/cart-recommendations).
- In the cart, sample products get a **Sample** badge.

## Tips

- Prices on product cards and the product page always use the wallpaper's full-size variants; the sample has its own price.
- Murals use the **mural** template, which doesn't include the Sample block. Add it if you sell mural samples.
- Mention the sample size and what's included in **Sample size text**, so shoppers know what they'll receive.

## Related

- [Link sample products](/docs/walltropic/link-sample-products)
- [Samples page](/docs/walltropic/samples-page)
- [Product cards](/docs/walltropic/product-cards)