Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    You can use below shortcode to let the custom download there invoice. Don’t forget to give the order id.

    [bewpi-download-invoice title="Download (PDF) Invoice {formatted_invoice_number}" order_id="ORDER_ID"]

    You could also check the option on the ‘General’ settings tab to let customers download there invoices from ‘My Account’ page.

    Display default invoice template is not possible. Please tell me why you would like to do that.

    Let customers download there invoices from specific template pages by using below shortcode.

    echo do_shortcode( ‘[bewpi-download-invoice title=”Download (PDF) Invoice {formatted_invoice_number}” order_id=”ORDER_ID”]’ );

    added this to my template customer-completed-order.php
    it stops the mail from being send. What am I missing here? It’s driving me crazy !
    I need a download button in my mail template.

    what do you mean with :Don’t forget to give the order id.

    Plugin Author Bas Elbers

    (@baaaaas)

    You should give the order_id into the ORDER_ID in order to download the invoice.

    echo do_shortcode( '[bewpi-download-invoice title="Download (PDF) Invoice {formatted_invoice_number}" order_id="' . $order->id . '"]' );

    Let me know if it works. Happy to help you out.

    Would you be so kind to rate the plugin? It would support future development a lot! Many thanks in advance. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PDF Shortcode within the Default WooCommerce Template’ is closed to new replies.