Viewing 2 replies - 1 through 2 (of 2 total)
  • @bluemoonsound you’ll need to edit the template file to change the anchor link to have target=”_blank”.

    Look in templates > myaccount and find the exact template file which has the code you need, then copy that to your theme / child-theme and edit it.

    Thread Starter bluemoonsound

    (@bluemoonsound)

    Thanks for your reply anphira!

    That’s what I was thinking, to override the template with a target=”_blank”. But, the “download invoice” button isn’t coming from WooCommerce templates. WooCommerce PDF Invoices & Packing Slips inject this link in WooCommerce template (I guess?). So the solution might be to find the WooCommerce action which says to open links from Orders in the same window?

    I’m afraid I don’t know where to find this…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce PDF Invoices & Packing Slips – Download Invoice open in new tab’ is closed to new replies.