In WallTropic, a sample is its own product, separate from the wallpaper. That gives each sample its own price, stock, image and shipping, and lets shoppers add a sample in one click from product pages, product cards, quick view and the cart drawer.

## Step 1: Create the sample product

1. In Shopify admin, go to **Products** > **Add product**.
2. Title it clearly, for example "Palm Grove – Sample".
3. Add an image (a close-up of the pattern works well), a price (or 0 for free samples) and inventory.
4. Give it a single variant if you can. Single-variant samples get a one-click **Add sample** button on product cards; samples with several variants get **Choose sample** instead.
5. Set the metafield **Product format** (`walltropic.product_format`) to `sample`.
6. Save.

## Step 2: Link it from the wallpaper

1. Open the wallpaper product.
2. In **Metafields**, set **Sample product** (`walltropic.sample_product`) to the sample you created.
3. Save.

You only link from the wallpaper to the sample. The sample doesn't need a link back.

If you haven't created the metafield definitions yet, see [Set up product metafields](/docs/walltropic/product-metafields).

![Product metafields on Palm Grove Wallpaper with Sample product set to "Palm Grove Wallpaper Sample", plus roll width, roll length, pattern match and product format](https://cdn.kbkit.dev/kb/zr3mQVqAvbPd/27071aebe61940cbe4ed3ce7caf48e78dde6c681.webp)

## Step 3: Keep samples in their own collection

So that collection pages, search and recommendations show wallpaper rather than samples:

- Create a **Samples** collection (handle **samples**) and add your sample products to it. The demo content links to /collections/samples from the cart and sample promotions.
- Keep sample products out of your wallpaper collections. With automated collections, add a condition that leaves them out, for example by product type or tag.
- To hide samples from store search, ask your developer or use an app to set Shopify's `seo.hidden` metafield to 1 on each sample product. This also hides them from search engines.

## Step 4: Show the sample on the product page

The **Sample** block shows the linked sample on the product page. It's in the default product template already. Set **Sample size text** (for example "A4 sample, 21 × 29.7 cm"). See [Order a sample](/docs/walltropic/order-a-sample).

## Where shoppers can order samples

| Where | What they see |
|---|---|
| Product page | The **Sample** panel with **Add sample** |
| Product cards | An **Order sample** link with the sample's price (turn off with **Show "Order sample" link**) |
| Quick view | An **Order sample** link |
| Cart drawer recommendations | **Add sample** buttons (turn off with **Show "Add sample" buttons**) |
| Samples page | A grid of sample products with **Add sample** buttons |
| Cart | Samples are marked with a **Sample** badge |

Sample links only show when the sample product is available.

## Tips

- Product cards and product pages always show the wallpaper's full-size price, never the sample price.
- If a design has no sample, leave **Sample product** empty: the sample panel and links simply don't appear.
- Use a samples page to explain your sample policy. See [Samples page](/docs/walltropic/samples-page).

## Related

- [Order a sample](/docs/walltropic/order-a-sample)
- [Samples page](/docs/walltropic/samples-page)
- [Set up product metafields](/docs/walltropic/product-metafields)