Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello,
    Are you using the icon or button to produce the PDF, or are you exporting via the bulk actions? The button always has target_blank enabled, regardless of the setting (for reference, check the code). The setting just determines whether the browser gets a download header or an inline header.

    Do you only have this PDF invoice plugin installed, or do you have others too? One of them copied my icons, so it may be confusing if you have installed more than one.

    Let me know if that helps!

    Ewout

    Thread Starter wrip

    (@wrip)

    That’s all good. I checked again. I don’t know what I did wrong before. I was trying to view the PDF from My Accounts page. I just had to add target=”_blank” in my-orders.php inside WooCommerce template. I’ve managed to get it right. It’s working fine now. Very useful plugin, btw.

    Plugin Contributor Ewout

    (@pomegranate)

    You’re welcome! The my account buttons are generated by woocommerce or your theme, so I cannot control whether that opens in a new window, I can only give WooCommerce a url and a button text.

    If you have a minute to spare, I’d really appreciate a review!

    Thanks and have a fantastic weekend!

    Ewout

    Thread Starter wrip

    (@wrip)

    I already left you a feedback back in August I think 🙂

    Plugin Contributor Ewout

    (@pomegranate)

    Oh I see it now, thanks 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PDF does not open in another tab/window.’ is closed to new replies.