• Resolved lmorris99

    (@lmorris99)


    Love the plug-in, but we need it to show the Order Status (e.g. Processing, Completed, on-hold, cancelled, etc.).

    It presently shows payment type (Paypal or check), but if we have not received the check yet, or their attempt at using Paypal failed, we need to know that they still owe us money!

    Woocommerce Orders DOES show the Order status. The Settings for your plugin doesn’t have anything about Order Status. Is there some kind of hook or bit of code we can add, to show the Order status on the invoice or delivery note or receipt?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @lmorris99,

    Regarding the query, can you please try by modifying the template and adding the below code to get the status?

    Code:
    $order->get_status();

    Please let us know how it goes.

    Regards,
    Kenil Shah

    Thread Starter lmorris99

    (@lmorris99)

    Thanks but which template?
    Could I use …/wp-content/plugins/woocommerce-delivery-notes/template/print-order/print-content.php.

    Also, when I edit that, I see a comment at the top suggesting that I copy it to my theme directory. as “print_content” – but they mean “print_content.php”, right?

    Thread Starter lmorris99

    (@lmorris99)

    I guess I’d put your code after the line items, but before the order notes.

    But I don’t really know how to use all the “wcdn_xxx” stuff and It looks like I should, because everything else does.

    Here’s a snippet – can you show me where to insert “$order->get_status();” and how to make it print out?

    <?php endforeach; ?>
    <?php endif; ?>
    </tfoot>
    </table>

    <?php do_action( ‘wcdn_after_items’, $order ); ?>
    </div><!– .order-items –>

    <div class=”order-notes”>
    <?php if ( wcdn_has_customer_notes( $order ) ) : ?>

    Hi @lmorris99,

    I am sharing the link which has the hooks. So, can you please try by adding the hooks given below in the link in the theme’s functions.php file and check whether it works or not.

    Link: https://wordpress.org/plugins/woocommerce-delivery-notes/#how%20can%20i%20add%20some%20more%20fields%20to%20the%20order%20info%20section%3F

    Please let us know how it goes.

    Regards,
    Kenil Shah

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Can it show payment status?’ is closed to new replies.