Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Add button to see invoice on the order page

  • Resolved davidgimenezq


    Hello dear developer,

    Is it possible to show the button to see invoice on the page of an individual order? It is important to me.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Yordan Soares


    Hello @davidgimenezq,

    If you want to see the link in the single order details (My Account > Orders > Order #{number}), please add the following code snippet to your site:

    add_action('woocommerce_order_details_after_order_table_items', function(){
    	if( ! is_admin()){
    		echo do_shortcode('[wcpdf_download_invoice]');
    }, 10, 1);

    This will add the invoice link after the Order details heading:

    A screenshot displaying the Download invoice PDF link after the Order details heading

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

    Let me know if it works 😉

    Thread Starter davidgimenezq


    Thank you very much, you are a professional.

    I have read the support and it is incredible compared to other plugins, I give you my congratulations. Have a nice day!

    Plugin Support Yordan Soares


    Thanks for your kind words!

    If you don’t mind and have the time, do you think you could leave us a review?

    Thanks in advance and all the best with your store!

    Thread Starter davidgimenezq


    I have left my review with the highest score, you honestly deserve it.
    have nice day !!

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