• I’m using html files for selling my digital products and I’d like customers to open those html files in a new tab and see the info regarding instructions and download links.

    Is there any way to force the browser open the html files in a new tab instead of downloading them ?? I tried changing the Download Type option to Redirect but it didn’t work !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Pippin Williamson

    (@mordauk)

    Hello!

    To do this you will want to set the download method to Redirect and then also add target="_blank" to the download links. You can do this by editing the receipt template files and adding the target attribute.

    Please see this guide for editing the template files: https://docs.easydigitaldownloads.com/article/1216-moving-edd-templates-to-your-theme

    Thread Starter worldless

    (@worldless)

    Hi Pippin

    I’m not sure my explanation was clear enough. to put it simply :

    How to let customers open the download files in browser (in a new tab if possible) instead of downloading them ?

    If that was the solution then where exactly would I put the target attribute in template files ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to open download files in new tab’ is closed to new replies.