- This topic has 4 replies, 2 voices, and was last updated 11 years, 8 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Would like download links to open in new window/tab
I’m using the code [wp_eStore_display_transaction_result] on a Thank You page after a purchase is complete. I would like the download links to open in a new window/tab.
I’m using the Fancy 1 display option. I know I need to use target=”_blank”, but I don’t know which file and where to put it.
Thanks for your help,
Matt
When you click on a download link it will popup download dialogue box and let the user download the file. I have a feeling the browser is opening your file and playing/showing it in the browser. What type of file are you serving as a download? Is it a zip file?
This post can be helpful too:
It is a pdf file. I have the file hosted on Amazon S3 and my browser is Chrome. I know Chrome can open pdf’s, but I would like each click on the download link to open in a new tab. Mostly for when customers order multiple ebooks and there are multiple download links available. Once they open one pdf file, they might forget to go back and download the other files they purchased.
Thanks.
We have a feature in development that should help you. This feature will go in the next build of eStore pluign.
You will be able to do the following to open download links on the thank you page in new window.
open the “eStore_advanced_configs.php” file and search for the following line of code:
define('WP_ESTORE_OPEN_IN_NEW_WINDOW_THANKU_DL_LINKS', '0');
Once you find it, change it to the following:
define('WP_ESTORE_OPEN_IN_NEW_WINDOW_THANKU_DL_LINKS', '1');
Glad to hear that eStore will be able to support this feature in the next build.
Thank you for taking the time to add this option to your plugin.