Design
Choose the Inspire template, available in the standard library.
Styles
The communication inherits styles from the brand kit. You’ll find logo, fonts, and color palette already set. To modify them, click on the Styles icon; a section will appear on the right, allowing you to customize the different options (learn more by reading the article “How to create a communication by template“).
Last order products
You can start creating your communication by customizing the existing section or adding a new section from the catalog by clicking the Add section button.
- In the catalog, click on the Magento section and select the item “Your order“
- Customize the item by clicking the edit icon
In the Layout tab, you can modify the item’s structure by changing, for example, column proportions, text color, background color. In the Columns tab, you can edit the behavior and appearance of individual columns.
Click on the Content tab. By default, the Connect to Magento option is checked.
The selected options are already valid. To display the contact’s cart products, you just need to set how many products to display. Depending on the selected item, the “One product per row” option may be enabled or not.
- Click the Save button
The item is already set to display the product image, name, price, and cart total. If you want to customize the item, click the info icon next to “Cart product placeholders” and take note of the placeholders:
- [temp:item.title] Product name
-
[temp:item.description] Product description
Use [temp:item.description left='130'] to limit the length. - [temp:item.link] Product link on Magento
- [temp:item.reviewlink] Product review link
- [temp:item.image] Product image
-
[temp:item.currentprice] Price
Formatting example: [temp:item.currentprice maxdigits='2' mindigits='2' locale='it']
Link to the last order
A button linking to the cart page is automatically inserted. The link already uses the correct placeholder, and you can customize the clickable word and the style.
Preview
To check that everything has been set correctly, click the Preview button and then the Customize button.
- Select the database connected to Magento, then select a contact by clicking on the contact icon
- In the popup that appears, filter contacts by selecting those who have placed at least one order
- Select a contact
- Click the Update preview button
Add related products to your last order
You can also include products related to your last order such as related products, up-selling, cross-selling, and recommended products.
- Click the Add section button, go to the Magento section, and select a desired item (in this example, we’re adding 3 products related to the cart product)
- Modify the section options from the Content tab by choosing:
- under “Products to show” → select Last purchase of the contact
- under show → Related products
- How many products to show → choose 3, and they’ll appear in the same row
- Preview again by choosing a test contact.