Custom Quote Template Beta

AvniY
Member

How to get Quotes total of all line items

Hello there We're customizing our quotes templates and I'm trying to figure a small thing which I can't find in the docs. When the Quantity is above 1, the calculation of the total of all line items is wrong, as the quantity is not taken in account. I'm using  template_data.quoteAssociatedObjects.lineItems|sum(attribute='price')|format_currency(LOCALE, CURRENCY, true)  to determine the total in the red square https://pasteboard.co/JQV4l8j.png Thanks in advance !! (Sorry for the messi message, it won't let me submit a post with simple HTML tags (as p) it throws an error)

0 Upvotes
3 Replies 3
CBelga
Contributor | Platinum Partner
Contributor | Platinum Partner

How to get Quotes total of all line items

For me I used

{{quote.hs_quote_amount}}

to get the total amount of all the line items.

0 Upvotes
AvniY
Member

How to get Quotes total of all line items

Yes. Thank you Dennis!

dennisedson
HubSpot Product Team
HubSpot Product Team

How to get Quotes total of all line items

@AvniY , are you using the beta quotes template product?

0 Upvotes