Complementary products
Product page section
Theme retirement | Context is no longer available on the Shopify theme store. Theme support and updates for current users will end after May 18, 2024. Learn more here.
Update | This feature was added in v2.9.0 on Jan 6, 2022. See our change log and Theme update guide to learn more.
In the Product template, the Complementary products section shows customers related products that they can purchase in addition to the current product. Create a custom product list that pair well together.
This guide shows you how to set up the Complementary products block. For similar features, see guides for Recommended products section.
Set up section
Follow the steps to add a complementary products section with a custom product list. You can customize the heading and layout of the block.
Add dynamic content for different products
If you want to show different complementary products on specific product pages, you can use Shopify's metafields and dynamic sources. These features allow you to store custom information for each of your products and automatically display that information on the correct product pages.
Watch the video or follow the steps below to create metafields for your products, add complementary products to those metafields, then use Dynamic sources to connect those metafields to the complementary products block.
For a general introduction, see our Dynamic sources and metafields tutorial.
1. Create product list metafield
Create a Product metafield to add multiple complementary products to each product page in your Shopify Admin.
Shopify's Metafields lets you store additional information about your products. You can create custom fields to hold different types of information in your Shopify admin, and enter unique content for each of your products.
The steps below tell you how to add a metafield for storing text that you want to display in the collapsible rows block.
2. Add products to metafield
Once you've created a product list Metafield, you can now add multiple products to those fields by going to your products in the Shopify admin.
3. Insert metafields as dynamic sources
You can go to the theme editor to insert a Dynamic source in the Complementary products section.
Related links
Product template Recently viewed products Recommended products
Last updated