We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Sep 19, 2022 9:06 AM
Hi all,
I have already created the product name, SKU, and unit price, Nevertheless I am not getting those created values.
Note: I am using free version HubSpot.
{% email_each list="deal.line_items" item="line_item" %}
<tr>
<td class="flex-sm" width="280" valign="top">
<img style="vertical-align: top; max-width: 100%; width: 100%; height: auto;" src="{{line_item.images}}" alt="image description" border="0" width="280" height="121" />
</td>
<td class="flex-sm" style="height: 15px;" width="16" height="15"></td>
<td class="flex-sm" style="font:16px/150% 'ProximaNova', 'Helvetica Neue', Arial, Helvetica, sans-serif; color: #222222;" valign="top">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-top: 3px;">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td style="font:600 24px/100% 'ProximaNova', 'Helvetica Neue', Arial, Helvetica, sans-serif; color: #000000; padding-bottom: 5px;">{{line_item.name}}</td>
</tr>
<tr>
<td style="font:600 16px/140% 'ProximaNova', 'Helvetica Neue', Arial, Helvetica, sans-serif; color: #717171;">{{line_item.sku}}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="pr-sm-0 pt-sm-18" style="padding-top: 22px; padding-right: 8px;">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td style="font:14px/140% 'ProximaNova', 'Helvetica Neue', Arial, Helvetica, sans-serif; color: #000000;">Tonnes</td>
<td style="font:14px/140% 'ProximaNova', 'Helvetica Neue', Arial, Helvetica, sans-serif; color: #000000;" align="right">{{line_item.quantity}}</td>
</tr>
<tr>
<td style="font:14px/140% 'ProximaNova', 'Helvetica Neue', Arial, Helvetica, sans-serif; color: #000000; padding-top: 3px;">Cost</td>
<td style="font:600 16px/140% 'ProximaNova', 'Helvetica Neue', Arial, Helvetica, sans-serif; color: #000000;" valign="bottom" align="right">{{line_item.amount}}</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
{% endemail_each %}
Thanks!
Sep 20, 2022 7:13 AM
Hi @Jane_deepma
Unfortunately you can not populate personlised tokens into emails from a product. You can only create them from values from a contact, company, deal, ticket, or sender (HubSpot user) property. This is part of the quotes within HubSpot Sales.