Complete the stack and related products
Suggest pieces that wear with the product, add them to the bag in one tap, and show related and recently viewed products under the product.
Four ways to suggest more pieces on the product page.
| Feature | Where it lives | Needs Search & Discovery |
|---|---|---|
| Complete the stack | Block in Product information | No |
| Complementary products | Block in Product information | Yes |
| Related products | Section under the product | No, but it lets you pick them |
| Recently viewed | Section on any template | No |
Set up Complete the stack#
The current piece and up to 6 pieces that wear with it, each with a tick box and a running total. One button adds every ticked piece to the bag.
- Select the Complete the stack block.
- In Products, pick up to 6 products, the same for every product.
- For pieces per product, add a product metafield such as
custom.stack(Product, list of products) in Settings > Metafields and metaobjects > Products (opens Shopify admin in a new tab). Fill it on each product, then connect it to Products with the dynamic source icon.
Do it with Sidekick
Open Sidekick in the theme editor and paste this, with your own names. Check the preview, then click Save.
On the default product template, add a Complete the stack block to Product information under Buy buttons, and pick the products "Pearl drop", "Mini hoop" and "Chain bracelet".
Settings#
Complete the stack settings
| Setting | What it does |
|---|---|
| Heading | Installs as "Complete the stack". |
| Products | Up to 6 pieces. Connect a product list metafield to set them per product. |
| Include this piece | Lists the current piece first, following the variant chosen above. Installs on. |
| Show complementary when empty | With no pieces, shows Search & Discovery's complementary products instead. Installs on. |
| Maximum products | 1 to 6, default 3. For the complementary products. |
Complementary products settings
A short "Pairs well with" list with an Add button per piece. Set the pieces in Apps > Search & Discovery > Product recommendations (opens Shopify admin in a new tab), then add the Complementary products block to Product information. A piece with one variant goes straight into the bag; others open quick view.
| Setting | What it does |
|---|---|
| Heading | Installs as "Pairs well with". |
| Color scheme | A scheme other than the page's shows the pieces on a card in that scheme. |
| Maximum products | 1 to 6, default 3. |
Related products settings
A grid of cards under the product, picked by Shopify from sales and catalog data, so a new store may show few or none. Add your own in Search & Discovery > Product recommendations. Hidden with no recommendations.
| Setting | What it does |
|---|---|
| Eyebrow | Installs as "You may also like". |
| Heading | Installs as "More to discover". |
| Rows | 1 or 2. |
| Columns on desktop | 3 or 4. |
| Columns on mobile | 1 or 2. |
Every setting: Related products reference.
Recently viewed settings
Products the shopper opened before, newest first, without the current one. The list lives in the shopper's browser, up to 12 products, and stays hidden until they have viewed another product.
| Setting | What it does |
|---|---|
| Products to show on desktop | 2 to 8, default 4. |
| Products to show on mobile | 1 to 8, default 4. On tablets and phones, an odd last product is left out. |
Every setting: Recently viewed reference.
Good to know#
Complete the stack doesn't show on a product
It has no pieces in Products or the metafield, and either Show complementary when empty is off or there are no complementary products. Sold-out pieces are left out. While it waits for complementary products, the block stays hidden and appears only if some arrive, so it never flashes on and off. In the editor, an empty block shows a note.