Hi,
I send following data with the single send api:
{ ...
"customProperties": {
"products": [
{
"product_id": "PSKE",
"product_name": "Managed Kubernetes",
"price": "0,00&bnsp;€",
"quantity": "1"
}
],
... }
The template module contains following code:
{% for item in custom.products %}
<tr>
<td>{{ item.product_id }}</td>
<td>{{ item.product_name }}</td>
<td>{{ item.quantity }}</td>
<td>{{ item.price }}</td>
</tr>
{% endfor %}
All values in the e-mail are empty:
<tr>
<td style="font-family:Arial, sans-serif; font-size:15px; color:#23496d; word-break:break-word"></td>
<td style="font-family:Arial, sans-serif; font-size:15px; color:#23496d; word-break:break-word"></td>
<td style="font-family:Arial, sans-serif; font-size:15px; color:#23496d; word-break:break-word"></td>
<td style="font-family:Arial, sans-serif; font-size:15px; color:#23496d; word-break:break-word"></td>
</tr>
Why?