Bought together on the product page
“Bought together” shows the product of the page together with a few products of its first cross-selling group. Each product is displayed as a card with a check box, followed by the sum of the checked products and one button that puts them in the cart. The products of the set come from the cross-selling set on the product in Shopware; the block of the product page template only determines how they are displayed.
Before you start
Section titled “Before you start”Two prerequisites have to be in place before the set can appear.
The product page has to use a Nova template. The set is a display mode of the Cross-selling block, so the template of the product has to contain that block. → Product page builder
The product of the page has to be available. When it cannot be ordered (sold out with Clearance sale set), the block displays the cross-selling groups one under another instead of the set. The same happens in a rare case: a product with variants, none of which can be shown in the sales channel. The page then shows the main product, which cannot be put in the cart itself.
1. Give the product a cross-selling group
Section titled “1. Give the product a cross-selling group”Catalogues → Products → product → tab Cross Selling → Add new Cross Selling. Fill in Name, tick Active and choose the Type: Manual selection with the products under Product assignment, or Dynamic product group. Save the product.
The set takes its products from the first active group of the product, in the order given by Position, that has something to offer. The product of the page and its other variants are never offered; a group holding nothing else is skipped.
2. Set the block to “Bought together”
Section titled “2. Set the block to “Bought together””Content → Nova → Product page → List of templates → Edit in the row of the product’s template → select the Cross-selling block, or add it to a column → tab Content → Groups → Bought together.
The same tab then offers the settings of the set:
- Products beside it: how many products of the group join the product of the page, from 1 to 4; the default is 2. Only products that can be put in the cart are counted.
- A product with variants: which variant represents a product of the group that has variants: Its main one, the others to choose in place, Its main variant or Its cheapest variant. Only available variants are used. With the first value the customer can change the variant on the card; the price and the picture follow the choice.
- Show instead: what the block displays for a product without cross-selling, as one list: Nothing: the block is left out, Products of a category, The newest products or The best-selling products.
3. Publish the template
Section titled “3. Publish the template”Publish the template. The draft remains invisible in the shop until it is published. → Documents
Checking it works
Section titled “Checking it works”A block without a title of its own is headed “Frequently bought together”. The first card is the product of the page, marked This item; the following cards are the products of the group. All cards start checked. Unchecking a card removes the product from the sum, and the line above the sum states the number of checked products, for example “Total for 3 items”. Add selected to shopping cart puts the checked products in the cart.
What follows the button is determined by the setting After adding to the cart of the cart and checkout document, the same as after Add to shopping cart in the buy box. → Cart and checkout builder
The arrangement depends on the width of the block: the cards in a row with the sum beside them, the sum under the cards in a narrower block, and the cards one under another at the width of a phone.
When the set does not appear
Section titled “When the set does not appear”- The block displays the groups one under another: the product of the page is not available (or is a main product without a variant to show in the channel), or none of the products of the first group can be put in the cart.
- The block displays a list under another title: the product has no active cross-selling group, or its groups hold nothing but the product of the page and its variants. The list comes from Show instead.
- The block is missing: the product has no cross-selling and Show instead is set to Nothing: the block is left out.
Where to go next
Section titled “Where to go next”- Blocks of the product page: the other blocks of the template.
- Product set: a set of chosen products with the same cards and button, independent of the cross-selling of the product.