

Overview
Marketing Automation allows you to enrich messages with sequences of information about products and stores. Like other personalization syntaxes in Designer, product and store loops can be used in:
Emails designs, built with Message Builder or imported into the HTML editor
Email subject lines
They can be used in any campaign targeting contacts.

Using product loops
Use product loops to personalize your content with specific product lists.
In the following case, you want to display a curated selection of products by referencing their product IDs.
.
Explanation:
For each product in the list of IDs, Splio will include all the product fields (here: product name and price) found between the beginning and the end of the loop in the message to send. The {% endfor %} line ends the loop.

Using store loops
Use store loops to personalize your content with a selection of stores based on predefined conditions.
In the following case, you want to display only the stores that match specific external IDs.
.
Explanation:
For each stores whose external IDs match the ones provided, Splio will displays a list of store names and their cities. The {% endfor %} line ends the loop.
.
For more advanced use cases of loops, a dedicated documentation is available here. Feel free to explore the examples
