• Resolved WerbeagenturSitekick

    (@werbeagentursitekick)


    Hello,

    we face the following problem: in Germany every invoice needs a unique invoice number. Your plugin generates this number perfectly and the invoice for printing ist also perfect.

    But: this invoice can not be sent to the customer within the woocommerce backend, right?

    We activated the “Invoice”-E-mail for the customer – but the Mail that is sent with this feature ist something completely different than the print-Version generated by your Plugin.

    Most important: the invoice number is missing. Is there a way to at least get the invoice number into the “invoice to customer mail”? Or a way to simply mail your invoice to the customer from the backend?

    Your help is very much appreciated!

    Kind regards,

    Michael

    https://www.ads-software.com/plugins/woocommerce-delivery-notes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • hi michael

    sorry, the plugin doesn’t support such a feature. the plugin just geneartes a print view of your order.

    but you can acheive what you are looking for by editing the email templates of woocommerce. https://docs.woothemes.com/document/template-structure/

    just use this code to show the invoice number: echo wcdn_get_order_invoice_number( $order->id );

    Hey Michael,

    There’s a workaround:
    1. adjust the format of the invoice / order confirmation email(s) / remove the product table and all of the invoice data from it.
    2. then update the text for the “print” link that appears in the emails to something like “To view your invoice please click here”.

    At the moment I’ve hardcoded step 2 in the plugin files.. which means I’ll (potentially) have to redo it when the plugin is updated.

    It would be GREAT though if Piffpaffpuff could tell us a hook that we’d be able to use to adjust the print label & link in the emails, so that we could just update the theme functions file, rather than the raw code…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Invoice Number in Customer E-Mail’ is closed to new replies.