Mar 3, 202110:33 AM - edited Mar 3, 202110:37 AM
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)