• Resolved Roy_Mi6

    (@roy_mi6)


    Hi, correct me if I’m wrong but with the new functionality to “Show print buttons on the “My Account” page” should this not print an invoice rather than a delivery note?

    I’m modified the template so that it adds some extra information to the invoice but it appears to be printing the delivery note from the customers side of things.

    Is this expected behaviour that I should change myself or can I expect a patch to fix?

    https://wordpress.org/plugins/woocommerce-delivery-notes/

Viewing 3 replies - 1 through 3 (of 3 total)
  • i chosen to just print the order. the question is what people want most. if more people think it should print the invoice then i can change that quite quickly.

    Thread Starter Roy_Mi6

    (@roy_mi6)

    Well, a vote here to print the invoice rather than the delivery note.

    To us it makes more sense.

    Alternative is an administrator option to set what version gets printed by client when they select print from their account?

    ok, the next version (3.0.5) will use the invoice. for people who want something else, there will be a filter hook for it. use ‘invoice’, ‘delivery-note’ or ‘order’ as return value:

    function my_theme_print_button_type( $type ) {
    	return 'order';
    }
    add_filter( 'wcdn_theme_print_button_template_type', 'my_theme_print_button_type' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customer options should print invoice rather than delivery note’ is closed to new replies.