Recommendations
You can add a Reccomendations block to your cart page that displays a list of related products that are automatically-generated or manually set by you using the Shopify Search & Discovery app. Learn how to customize related products with the app.
Displaying related products to customers makes it easier for them to discover new products, and can help to increase online store sales.
Related products are based on products that are commonly purchased together, have a similar product description, or products in related collections. Related products become more accurate over time as more order and product information becomes available.
How Related Products Appear in the Cart
- Single Product Added
- When a product is added to the cart, its related products will automatically appear below it.
- Example: You add Product A → Related products for A show up.
- Multiple Products Added
- Only the related products of the first-added product will be displayed.
- Related products of any other products added afterward will not appear.
- Example:
- Add Product A → Related products of A appear.
- Add Product B → Related products of B do not appear in the cart.
- Products Without Related Products
- If the first-added product has no related products, nothing appears.
- Users may manually add other products, but only the related products of the first product matter.
- Automatic vs. Manual Related Products
- If your system is set to automatically generate related products for all items, then every product could theoretically have related products.
- But due to the cart logic, only the first product’s related items will be displayed, even if later products have automatically generated related products.
| Setting | Description |
| Heading |
Enter a heading that describes the collection list. In the top menu of the field, you can find options to customize the heading. Furthermore, you can click the dynamic source button to insert a dynamic source as the title of the section. |
| Heading size |
Choose the size of the section heading:
|
| Image ratio |
The “Image ratio” setting allows you to control how images are displayed on your website based on their width-to-height ratio. You have several options to choose from:
|
| Show gallery preview | Enable this option to display a preview of the product’s image gallery on hover. This feature works only if the product has more than one image, and will display a maximum of three images. |
| Show type |
Click “Show type” to display the product type on product cards in this section. Note: The product type must first be added on the product page in the admin. |
| Show vendor |
Click “Show vendor” to display the product vendor on product cards in this section. Note: The product vendor must first be added on the product page in the admin. |
| Show product rating | Displays the average product rating in stars with the number of reviews in parenthesis, for example: ★★★★★ (8). Also requires a product review app such as Shopify Product Reviews, and Metafield definitions for reviews.rating_count and reviews.rating. |
| Enable Quick add |
If you activate the Quick add option, then your customers can add an item to their cart from the product card. Choose from the following options:
|
| Show gallery preview | Enable this option to display a preview of the product’s image gallery on hover. This feature works only if the product has more than one image, and will display a maximum of three images. |
| Show type |
Click “Show type” to display the product type on product cards in this section. Note: The product type must first be added on the product page in the admin. |
| Show vendor |
Click “Show vendor” to display the product vendor on product cards in this section. Note: The product vendor must first be added on the product page in the admin. |
| Show product rating | Displays the average product rating in stars with the number of reviews in parenthesis, for example: ★★★★★ (8). Also requires a product review app such as Shopify Product Reviews, and Metafield definitions for reviews.rating_count and reviews.rating. |
| Quick add |
If you activate the Quick add option, then your customers can add an item to their cart from the product card. Choose from the following options:
|
| Show color swatch | Enable the toggle to show color swatches on product in the section. |
| Swatch variant name | f the variant option name on the product page differs from the default “Color”, enter the custom name here to ensure swatches are displayed correctly on product cards. |
Note: To add color swatches, see the article Creating and editing product and locate the “Add Color Swatches” section.