Hi everyone,
I’m working on customizing a HubSpot quote template and need help displaying a custom property Custom TCV - Total Contract Value(custom calcuclated metric) as a row item rather than a column within the item table list.
Here’s what I’ve tried so far:
- Followed the HubSpot community guidance to add the custom deal property as a column — this works fine. Solved: HubSpot Community - Adding Line Item Properties in Custom Quote - HubSpot Community But I need this on the row instead
- Attempted to manually insert the property as a row using HubL, placing it after the {% for unit in line_items %} loop. (Co-Pilot suggestion) Used the following code snippet:
{% if QUOTE.hs_custom_tcv %}
<tr class=“line-items__item-row”></tr class=“line-items__item-row”>
<td colspan=“{{ module.line_item_column|length }}”></td colspan=“{{ module.line_item_column|length }}”>
Custom TCV:
{{ QUOTE.hs_custom_tcv|format_currency_value(locale=LOCALE, currency=CURRENCY) }}
{% endif %}
Has anyone successfully added a custom deal property (Custom TCV - a caluclated metric) as a standalone row in the quote line items table?
Any guidance or working examples would be greatly appreciated!