Support » Plugin: WooCommerce Print Invoice & Delivery Note » PLEASE ADD LINK TO “PRINT INVOICE” ON EMAIL TEMPLATE

  • Resolved HDLF PRODUCTIONS

    (@housedelafunk)


    Hi there

    This is a great plugin but I was wondering if you can also add a link to “Open print view in browser” on the email that I receive as the owner of the store.

    On the customer’s email, I see the link, so they can print the invoice generated by your plugin, but not on the email that I receive informing that an order has been placed.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support komal-maru

    (@komal-maru)

    Hi @housedelafunk,

    Thank you for appreciating our plugin. That helps us to stay motivated and serve even better.

    In order to send the ‘Open print view in browser’ link in the admin emails for the order received emails, then you will need to customize this in ‘class-wcdn-theme.php’ file in our plugin.

    In the file ‘class-wcdn-theme.php’, there is function called add_email_print_url(). In that function find the line – if( $wdn_order_billing_id && !$sent_to_admin ) and replace it with – if( $wdn_order_billing_id )

    The ‘class-wcdn-theme.php’ file is present at ‘woocommerce-delivery-notes > includes’ path.

    Please make the necessary changes and let us know the result. Also, let me know if you have any further queries.

    Regards,
    Komal Maru

    It worked perfectly. Thank you so much.
    Your plugin and your team offer a great service.

    Thank you!

    Plugin Support komal-maru

    (@komal-maru)

    Hi @housedelafunk,

    I am glad to know that the provided information helped you to achieve your requirement.

    Thank you for appreciating our plugin and our services. 🙂

    Please let me know if you have any further queries.

    Regards,
    Komal Maru

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.