Skip to Content
DocumentationSectionsComplementary products

Complementary products

Display complementary products (cross-sells) in a responsive carousel on product pages. Uses Shopify’s complementary product relationships to suggest items that go well together.

Use this reference when you need section settings for complementary product cross-sells. Use the Shopify Search & Discovery guide when you need the Shopify Admin setup workflow for related products, complementary products, and filters.

Shopify theme editor showing the Complementary products section with product count, columns, and carousel navigation settings.
Complementary products uses Shopify Search & Discovery recommendations and product-card blocks on product templates.

Configure the Section

This section is designed for the Product template. To add it:

  1. Navigate to a product page in the theme editor.
  2. Click Add section and select Complementary products.
  3. Set up complementary product relationships in Shopify admin under Apps > Search & Discovery > Recommendations.

Section Settings

Product Display

SettingDescription
Product countMaximum number of complementary products to show. Range: 1-10. Default: 4.
ColumnsNumber of columns on desktop. Range: 1–8. Default: 4.
Mobile columns1 column or 2 columns. Default: 1.
Horizontal gapSpacing between product cards. Range: 0–100px. Default: 8px.
SettingDescription
IconChevrons or None. Default: Chevrons.
Icon sizeArrow icon size. Range: 12–48px. Default: 20px.
Icon backgroundNone or Circle background. Default: Circle.
Icon colorArrow color. Default: #666666.
Icon backgroundArrow background color. Default: #DEDEDE.
Icon background opacityArrow background transparency. Range: 0–100%. Default: 20%.
Arrow placementOverlay on content or Below content. Default: Overlay on content.
Desktop navigation visibilityAlways show or Show on hover. Default: Always show.
Hide carousel navigation on mobileHide navigation arrows on mobile. Default: Off.

Layout

SettingDescription
Section widthPage width or Full width. Default: Page width.
Content gapSpacing between heading and product grid. Range: 0–100px. Default: 12px.
Background colorSet the section background or leave blank to inherit the global page background.
PaddingTop and bottom padding with unified or separate controls. Range: 0–100px. Default: 32px.

Blocks

Add text blocks for section headings, product item blocks for product-card presentation, container blocks for layout composition, and app blocks for third-party integrations.

Product item blocks can include media, title, price, swatches, and quick-add controls depending on the product-card block settings.

Empty complementary products

Complementary products appear only after relationships are configured in Shopify Search & Discovery and Shopify returns products for the current product. If no complementary products are available, the section stays out of the way until products are assigned.

For setup steps in Shopify admin, see the Shopify Search & Discovery guide.

Publish Checklist

  • Assign complementary products in Shopify Search & Discovery.
  • Preview a product with complementary products assigned.
  • Preview a product with none assigned.
  • Test product-card swatches and quick add if enabled.
  • Review carousel controls on desktop and mobile.