Products Block
Use the Products block to configure and visualize recommended products in the email.
Before working with the block, you need to:
- Connect one of the advanced features pricing plans.
- Set up web tracking
- Create a data source for recommendations
Block Configuration
To add the Products block to the email content, drag and drop it to the content area.
Note
A block with default settings will be used in the message if you have not set up web tracking and created a data source for recommendations
![Products block Products block](https://files.readme.io/26a7631-products-01.gif)
Click the block in the message container. The following tabs will open on the sidebar:
- Product list
- Items
- Data
![Products block tabs Products block tabs](https://files.readme.io/f42c7d6-products-02.webp)
Let's consider the configuration of each tab in detail.
Product List
Configure the number of product cards in the block and their alignment, placement, padding, and background.
Number of products in a row
Set the number of products to display in a single row (1 to 4).
![Number of products in a row Number of products in a row](https://files.readme.io/d8b467e-products-03.webp)
Number of rows
Enter the number of rows with products in the Up to parameter.
Note
Possible values range from 1 to 50 rows. If there are not enough products to fill all the rows, the system may display only 1 row.
![Number of rows Number of rows](https://files.readme.io/00e20e0-products-04.webp)
To show all the products available in the data source, select the Show all products radio button.
![Show all products Show all products](https://files.readme.io/453f697-products-05.webp)
If there are not enough products to fill the last row
Choose one of the options:
- Don't show partially filled row: If the last row of product cards contains fewer cards than the value you selected in the Number of products in a row section, then this row is not displayed for the recipient.
![Don't show partially filled row Don't show partially filled row](https://files.readme.io/839fd35-products-06.webp)
- Show partially filled row: The last row of product cards is displayed for the recipient, even if it contains fewer cards than the value you selected in the Number of products in a row section.
Set the alignment of cards in the last row for the second option: center, left edge, right edge, or adjust to width.
![Show partially filled row Show partially filled row](https://files.readme.io/3db6248-products-07.webp)
If there are no products to show
In this case, choose one of these options:
- Do not send the message: Default setting. The message will not be sent if there are no products to show.
- Hide product list: The message will be sent, but the content of the Products block will not be displayed for the recipient.
![If there are no products to show If there are no products to show](https://files.readme.io/be13dc8-products-08.webp)
If the message contains multiple Products blocks, you can set separate conditions for each block.
For example, the first block shows items in the abandoned cart, and the second one shows recommendations based on the items in the cart. If you select the Hide product list option for the second block, it will not be displayed in the message if there are no recommendations. The header and the footer of this block will not be displayed as well.
Indent and padding options
Set configuration:
- Indents between cards and rows.
![Indents between cards and rows Indents between cards and rows](https://files.readme.io/9d541c0-products-09.webp)
- Paddings around the Products block content for the desktop and mobile versions.
You can set all the padding at once or configure each side of the block individually.
Activate the More toggle button to set individual values and specify the desired parameters.
![Paddings around the Products block Paddings around the Products block](https://files.readme.io/5dca38e-products-10.webp)
Note
The maximum padding and indent value is 40 px
Click on the smartphone icon to set the padding around the block for the mobile version of the email.
![Padding around the block for the mobile version Padding around the block for the mobile version](https://files.readme.io/758037b-products-11.webp)
Background
The background is transparent by default. To change it, click the appropriate field, select a color from the palette, or enter the hexadecimal code for the desired color.
![Background Background](https://files.readme.io/2d0c655-products-12.webp)
Items
Configure the display or replace headers, footers, and product cards.
The principle for changing elements in the tab is the same. For example, let's consider replacing Product cards.
- Click the Replace button.
![Replace button Replace button](https://files.readme.io/60a8485-products-13.webp)
- Select a product card from the list or use the search field by name or tag.
![Select product card Select product card](https://files.readme.io/9df7670-products-14.webp)
Headers and footers are optional elements of the Products block, so they can be hidden by deactivating the corresponding switches.
Header before product cards is enabled by default.
![Headers and footers Headers and footers](https://files.readme.io/a79bbe7-products-15.webp)
Note
The header and footer will be hidden if there are no products to display in the block, even if their visibility is activated.
Data
Select a data source and configure the automation for displaying products in the message.
There are two types of data sources for the Products block:
- Recommendations based on contact data
- General recommendation algorithms
The Bestseller type algorithm is set in the Products block by default. If there is no Bestseller type algorithm, any of the general recommendation algorithms will be applied. If no general recommendation algorithms are available, then the algorithms based on contact data recommendations are set.
To replace the data source, click the Replace button and select the necessary one.
![Replace the data source Replace the data source](https://files.readme.io/bdbf769-products-16.webp)
Note
When you change the data source, the changes are not applied in the editor. To view the actual message, select the View message icon on the top panel.
![View message View message](https://files.readme.io/c0cdfcd-products-17.webp)
Click the Go to data sources button to create a new one.
![Go to data sources Go to data sources](https://files.readme.io/e52ae4f-products-18.webp)
Click the Save button on the editor's top panel to save the email changes.
![Save the email changes Save the email changes](https://files.readme.io/afec418-products-19.webp)
Note
- To display the product's old and new costs in the cards, we recommend using the additional Price component, which synchronizes the price data from the site with the data in the email.
- This instruction describes editing and saving product cards of blocks in the module library.
Updated about 1 month ago