# Total Quantity ok Invoices when using custom themes

**URL:** <https://forum.manager.io/t/total-quantity-ok-invoices-when-using-custom-themes/57902>\
**Category:** Uncategorized\
**Created:** [October 26, 2024, 11:46am UTC](https://forum.manager.io/t/total-quantity-ok-invoices-when-using-custom-themes/57902 "2024-10-26T11:46:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Mabaega](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mabaega/32/47471_2.png) [@Mabaega](https://forum.manager.io/u/Mabaega)\
**Post date:** [October 27, 2024, 3:45pm UTC](https://forum.manager.io/t/total-quantity-ok-invoices-when-using-custom-themes/57902/4 "2024-10-27T15:45:37Z")

</div>

> [@NCHIA1](#):
>
> Please how can I get the total Quantity to work in my case while I am using a custom themes

Maybe this

> [@Invoice theme/templates](https://forum.manager.io/t/invoice-theme-templates/52170/26):
>
> Check it, {% assign sumaryIndex = -1 %} {% assign qtyLabel = null %} {% for column in table.columns %} {% if column.label == "Unit price" %} {% assign sumaryIndex = forloop.index0 | minus:1 %} {% break %} {% endif %} {% assign qtyLabel = column.label %} {% endfor %} {% assign sumQty = 0 %} {% assign sumPrice = 0 %} {% assign sumAmout = 0 %} {% assign sumTaxAmount = 0 %} {% for row in table.rows %} {% for cell in row.cells %} {% assign lbl =…

---

_[View the full topic](https://forum.manager.io/t/total-quantity-ok-invoices-when-using-custom-themes/57902)._
