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
In Shopify admin, open Settings → Metafields and metaobjects.
Under Metafield definitions, click Products.

Click Add definition.

Give it a Name, like
upsell_ss_theme.Set the type to Product.
Choose List of products.

Click Save.
Step 2: Connect the metafield to the block
In Shopify admin, open Online Store → Themes.
Click Customize on your theme.
Open your product template.
Select the Upsell block.

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

Pick your metafield from the list.

Click Save.
Step 3: Fill in the metafield on each product
In Shopify admin, open Products, then a product.
Scroll down to Product metafields.
Find your metafield and pick the upsell products.

Click Save.
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
- Create dynamic reviews blocks for every product page
- 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
Did this answer your question?