Support » Plugin: WooCommerce Print Invoice & Delivery Note » [Plugin: WooCommerce Print Invoices & Delivery Notes] Order Total Won't Print

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m having the same issue (I think).

    Here’s a screenshot of it

    Thanks for the help!

    Found a fix for this.

    Look in the file woocommerce-delivery-notes-print.php….

    Line 442.

    return $output;

    return $totals;

    There is something wrong with the foreach loop that the author uses to strip the semi-colon from the labels. This is a temporary workaround until he releases an update.

    thanks. i’m looking into it. i will try to update the plugin tomorrow.

    @trevorgehman could you please explain the issue? which woocommerce and plugin versions do you use? what kind of product do you print? i’m asking because i can’t reproduce the issue with wc 1.6.3 and wcdn 1.2.4.

    This was with WooCommerce 1.5.8 and 1.24 of your plugin. We haven’t upgraded because we made a lot of changes and didn’t want to have to re-do them.

    it should be fixed in 1.4

    This is still happening to me in the latest version

    I got the same problem.
    I changed the code and it works

    change this function to following:

    if ( !function_exists( ‘wcdn_get_order_totals’ ) ) {
    function wcdn_get_order_totals() {
    global $wcdn;

    return $totals;

    and go to the template file under print folder:
    print-delivery-notes.php order-summary div change to following

    <div id=”order-summary”>
    <?php $total=wcdn_get_order_totals(); /*foreach( wcdn_get_order_totals() as $total ) : */?>
    <th class=”description”>Subtotal:<?php /*echo $total[‘label’];*/ ?></th>
    <td class=”price”><?php echo $total; ?></td>
    <?php /*endforeach; */?>
    </div><!– #order-summery –>

    It works! good luck everyone!

    hmm, which woocommerce version do you use? please note that the plugin needs at least version 1.6.3

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: WooCommerce Print Invoices & Delivery Notes] Order Total Won't Print’ is closed to new replies.