Appearance
Related products ​
This guide describes how to set up the Related products section.
Use the section to display products related to the current product on a Product page. The section implements dynamic recommendations by using order and product information that can change and improve over time. Refer to Shopify help: Shopify Product Network recommendations.

The previous image shows an example store's Product page. In the upper left, part of the Theme editor's Related products section menu is displayed. The menu's Maximum products to show option is set to 3. This option specifies the maximum number of related products to display in the section. For example, in the previous image, the "Other flavours" section displays 3 soda products that are related to the current soda product.
For general guidance with modifying sections, refer to Sections overview and Shopify help: Sections and blocks.
Configure the Related products section ​
To configure your Related products section:
In the Theme editor, at the top of the page, use the dropdown to select Products > Default product, Products > Accessories, Products > Bundle, Products > Merch, or Products > Preorder.
Note
The section is available only on the Products > Default product, Products > Accessories, Products > Bundle, Products > Merch, or Products > Preorder pages.
From the side menu, select Related products.
Select a setting described in the following table.
| Setting name | Description |
|---|---|
| Display on card | Use the Display on card option to show or hide a card behind the section. Refer to Shopify help: Cards. |
| Enable quick buy | Use the Enable quick buy option to show or hide an "Add to cart" button with product tiles in the section. Refer to Show quick buy on product tiles. |
| Products per row on mobile | Use the Products per row on mobile option to select 1 or 2 to specify the number of products shown in each row in the section on mobile display devices. |
| Maximum products to show | Use the Maximum products to show option to select 3, 4, or 6 to specify the maximum number of products to display in the section. |
| Product grid > Shape | Use the Shape options to select a shape. For example, select Same as theme settings, Default, Ellipse, Rounded nonagon, or Pixelated. Use this option to specify a shape for the section's product tile images. Selecting some shapes will crop the images. Refer to Style images and videos with shapes. |
| Product grid > Image aspect ratio | Use the Image aspect ratio options to select Same as theme settings, Natural, Landscape, Square, or Portrait. Use this option to specify the width-to-height ratio for the section's product tile images. This setting applies when the Shape option is set to a Fit to image shape, such as Default, Ellipse, Pill, or Archway. |
| Header > Title | In the Title field, enter text to display as the section's heading. Format the text and add links using the inline editor. |
| Header > Subheading | In the Subheading field, enter text to display as the section's subheading. Format the text and add links using the inline editor. To use this option, enter text in the Title field. |
| Color > Color scheme | Use the Color scheme picker to select a color scheme for the section. Refer to Colors. |
| Color > Use gradient for background | Use the Use gradient for background option to turn on or off using a gradient as the section's background. |
| Theme settings | If available, select Theme settings to access additional settings for the section. Refer to Section theme settings menu. |
| Custom CSS | Select Custom CSS. In the CSS field, enter custom CSS styles to apply only to the current section. Refer to Shopify help: Add custom CSS. To apply custom styles to your entire online store, refer to Theme settings > Custom CSS. |
| Remove section | Select Remove section to delete the section from the current page. |
Note
To connect a metafield to a setting that supports metafields, select the Connect dynamic source icon displayed beside the setting in the Theme editor.
To learn how to connect a metafield to a supported setting, refer to Shopify help: Connecting metafields to your theme by using the Theme editor.
Configure a block within a Related products section ​
To configure a block within your Related products section:
In the Theme editor, at the top of the page, use the dropdown to select a page that contains a Related products section.
From the side menu, expand the Related products section menu.
To configure an existing block, select the block from the side menu.
To add a new block, select Add block, choose a block to add, and then select the block you added.
Note
Inside the section, you can add, remove, show, hide, and move blocks. Refer to Configure blocks inside a section and Shopify help: Sections and blocks.
Apply a block setting described in the following table.
| Block name | Block description | Block setting(s) |
|---|---|---|
| Background pattern | Displays a stylistic pattern as a background inside the section. | Refer to Background pattern. |
| Background shape | Displays a stylistic shape as a background inside the section. | Refer to Background shape. |
| Sticker | Overlays the section with a stylized sticker. | Refer to Stickers. |
| Shape divider | Displays a stylized separator between the current section and the next/previous section. | Refer to Shape divider. |