• Resolved davidgimenezq

    (@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.

    Thanks.

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

    (@yordansoares)

    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

    (@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 Contributor Yordan Soares

    (@yordansoares)

    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

    (@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)
  • The topic ‘Add button to see invoice on the order page’ is closed to new replies.