Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eStore – Would like download links to open in new window/tab

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Would like download links to open in new window/tab

Tagged: download link, download link open new window, open in new window

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 2 months ago by matrix.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 11, 2013 at 12:41 am #8717
    matrix
    Member

    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

    March 11, 2013 at 10:02 pm #54324
    admin
    Keymaster

    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:

    https://support.tipsandtricks-hq.com/forums/topic/force-a-file-to-download-instead-of-showing-up-in-the-browser

    March 12, 2013 at 4:23 am #54325
    matrix
    Member

    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.

    March 13, 2013 at 2:32 am #54326
    admin
    Keymaster

    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');

    March 14, 2013 at 5:14 am #54327
    matrix
    Member

    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.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ