How to open WooCommerce downloadable products in new tab on the last step of 'Checkout'?
In my site, I use external file hosts like Google Drive, Mediafire etc. to host my downloadable files. Now, when a customer buys a downloadable product, they add it to their cart and then proceed to checkout. But after successful checkout when the download button appears and they click on it, the Google Drive download page opens in the same tab making the customer leave the website totally. I just want to make the Google Drive download page to open in a new tab and it will work for all users irrespective of logged in or logged out.Please help. I will be grateful.