Support » Plugin: WooCommerce Print Invoice & Delivery Note » Show total quantity of products ordered on invoice?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Vishal Kothari


    Hi @sstoveld,

    This will need to be done via a custom fix. I will see if it can be worked on in this week & will get back to you.


    Hey Vishal thanks for the update! Let me know

    Hey Vishal, not to rush you or anything, just curious if you’ve had a chance to work on this at all?


    Plugin Author Vishal Kothari


    Hi @sstoveld,

    Not yet. This is planned for tomorrow. Apologies for the delay. I should be able to look at it tomorrow & hopefully include it in the next release itself.


    Hey guys,

    Were you able to solve this? I’d love this feature as well!

    Plugin Contributor Rashmi Malpande


    Hi @jerodbarlow

    We are sorry for the delay. You can add this feature using some custom code. Copy the file template file ‘print-content.php’ from ‘wp-content/plugins/woocommerce-delivery-notes/templates/print-order’ to ‘wp-content/themes/yuortheme/woocommerce/print-order’.

    You will find the following code on line 188 –
    <td class="total-quantity"></td>

    Replace it with this condition –

    <?php if( $total['label'] == 'Total' ) { ?>
    <td class="total-quantity"><?php echo $order->get_item_count() ?></td>
    <?php } else {  ?>
    <td class="total-quantity"></td>
    <?php } ?>

    This will add total quantity in the Totals row.

    We would definitely think of adding this feature in the future release. Let me know if this worked for you.


    Thanks Rashmi!

    This worked perfectly. Thank you so much for the quick response!

    For the record, I understand why this wouldn’t have been in past releases and can imagine why most don’t need the feature. My client was asking for this feature, because they want to use the total row to double-check their order fulfillment.


    Awesome, thank you, the fix worked perfectly.

    Same case as Jerod, client wanted this total to double check their order fulfillment.


Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Show total quantity of products ordered on invoice?’ is closed to new replies.