# Create dynamic upsell blocks for every product page

> Connect the Upsell block to a product metafield, so each product page shows its own upsell products with no extra templates.

Connect the **Upsell** block's **Products** setting to a product metafield. Each product then shows its own upsell products, with no extra templates. You do this once, then fill in the metafield on each product.

## Before you start

- You need Section Store Plus or its free trial.
- Add the **Upsell** block to your product template.

## Step 1: Create a product metafield

1. In Shopify admin, open **Settings** → **Metafields and metaobjects**.
2. Under **Metafield definitions**, click **Products**.

    ![Metafields and metaobjects page in Shopify settings, with Products under Metafield definitions.](https://orka-chat.fra1.cdn.digitaloceanspaces.com/prod/help/6ae11b71ea5444c078d85419/import/1793138017033-file-oijglvBAlq.webp)

3. Click **Add definition**.

    ![The Add definition button on the Product metafield definitions page.](https://orka-chat.fra1.cdn.digitaloceanspaces.com/prod/help/6ae11b71ea5444c078d85419/import/1793138017401-file-L1l9Va3n61.webp)

4. Give it a **Name**, like `upsell_ss_theme`.
5. Set the type to **Product**.
6. Choose **List of products**.

    ![A new metafield definition with type Product and List of products selected.](https://orka-chat.fra1.cdn.digitaloceanspaces.com/prod/help/6ae11b71ea5444c078d85419/import/1793138017975-file-52x2Ntk5KR.webp)

7. Click **Save**.

## Step 2: Connect the metafield to the block

1. In Shopify admin, open **Online Store** → **Themes**.
2. Click **Customize** on your theme.
3. Open your product template.
4. Select the **Upsell** block.

    ![The Upsell block selected in the theme editor sidebar.](https://orka-chat.fra1.cdn.digitaloceanspaces.com/prod/help/6ae11b71ea5444c078d85419/import/1793138018361-file-ZjK8W9jqtf.webp)

5. Next to **Products**, click the **Connect dynamic source** icon (three stacked circles).

    ![The dynamic source icon next to Select in the Products setting.](https://orka-chat.fra1.cdn.digitaloceanspaces.com/prod/help/6ae11b71ea5444c078d85419/import/1793138018708-file-4P7bdrLdfn.webp)

6. Pick your metafield from the list.

    ![The dynamic source list with the upsell_ss_theme metafield highlighted.](https://orka-chat.fra1.cdn.digitaloceanspaces.com/prod/help/6ae11b71ea5444c078d85419/import/1793138019268-file-UD3h5qLGjq.webp)

7. Click **Save**.

## Step 3: Fill in the metafield on each product

1. In Shopify admin, open **Products**, then a product.
2. Scroll down to **Product metafields**.
3. Find your metafield and pick the upsell products.

    ![Product metafields on a product page, with upsell_ss_theme at the top.](https://orka-chat.fra1.cdn.digitaloceanspaces.com/prod/help/6ae11b71ea5444c078d85419/import/1793138020018-file-noZ7yOGjtG.gif)

4. Click **Save**.
5. Repeat for each product.

Can't find your metafield? You may have many pinned definitions. Click **View all**.

The product page now shows those products in the **Upsell** block.

## Good to know

- A product with an empty metafield shows no **Upsell** block.
- The block's other settings stay the same on every product.
- The same steps work for **Products** on the **Addons** block.
- Only products that use the template with the block show it.

## If it doesn't work

- **The metafield isn't in the list:** check it's a list of products. A single product metafield doesn't fit this setting.
- **The block shows the same products everywhere:** **Products** still holds picked products, not the metafield. Connect it again.
- **The block shows on some products only:** those products have the metafield filled in.

## Related

- [Add the Upsell block to your product page](https://section-store.orka.help/a/75-conversion-block-upsell)
- [Create dynamic reviews blocks for every product page](https://section-store.orka.help/a/82-create-dynamic-reviews-blocks-for-every-product-page)
- [Show different Conversion Blocks on different products](https://section-store.orka.help/a/show-different-conversion-blocks-on-different-products)

*Also searched as:* dynamic upsell, upsell per product, different upsell per product, upsell metafield, metafield upsell, list of products metafield, database icon, dynamic source, connect metafield, same upsell every product, upsell shows wrong product, no template needed
