ACS - Transactional message cannot display more than 3 products (elements of data collection)

Description description

Environment

Campaign Standard

Issue/Symptoms

When triggering a transactional message, the API call contains five products. However, only three products are contained in the email.

The received email does not seem to be able to contain more than three products, even if more than three products are present in the call.

The products (elements) are displayed using data collection on the transactional message template (see Configuring a transactional eventin our developer documentation)

Resolution resolution

Cause

This issue is observed if the data-nl-loop-length attribute in the source HTML of the template is set to 3. In this case, the data collection will not fetch more than three elements.

Solution

Modify the attribute directly in the transaction template source HTML.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f