Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2007
    Posts
    43
    Plugin Contributions
    0

    Default Digital Goods download button - possible to open new window?

    Hi all,

    I have my ZC install up and working great. There is one thing I'd like to be able to do, to make it simpler for my customers. I sell digital downloads of HD Windows Media Video files, and the products each have 2 attributes, the ZIP video file, and a link that installs a DRM license for them to be able to play the file.

    That all works fine, upon purchase confirmation they get the 2 buttons with the phantom link locations, to download their video and link to the license download. But what I'd really like to be able to do is to spawn a new window for one of those download buttons, the one for the license installation. That way they don't have to navigate back to the purchase confirmation page after their license has installed, in case they click that button first before downloading the video.

    So is there any code I can insert, like a JS window.open command, to spawn a new window for one of the download buttons (not the button connected to the download video file, just for the button that is linked to an html file, that has a link they must click to install the license; this is how the DRM license installation process has to work).

    And if yes, where would I have to put in the code and what exactly should it say?

    Thanks for any help!

    Best,
    Patrick

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Digital Goods download button - possible to open new window?

    As you write custom code to handle those needs, you might find some usable ideas in the code contained in this post:
    http://www.zen-cart.com/forum/showpo...07&postcount=8
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2008
    Location
    Illinois
    Posts
    54
    Plugin Contributions
    0

    Default Re: Digital Goods download button - possible to open new window?

    I seem to be having a problem that is similiar. When an order has more than one digital download (which are PDF's), the customer clicks on the download button for one of the files, then after the download is complete (or the PDF is viewed) they click the back button in the browser and the success page is empty. I thought about changing the files to Zip files, but wouldn't that cause problems for MAC and Linux users?

    Is there are way to specify how the download button functions so that it uses the "Save Target as" or open new window functionality instead of making the customer leave the success page? I changed the wording to let the customer know that they need to right click on the button and choose "Save Target As", but I think for MAC users they may not have that option...

    I am using ZenCart 1.38a and the COWOA module so I am unable to use the login capability that would allow the customer to log back into the site to get to the download links that way.
    Thomas Brophy

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Digital Goods download button - possible to open new window?

    On the Mac, if they're using Firefox, the menu options are the same as in Windows.
    If using Safari, the menu option is worded "Download Linked File As ..." or "Save Linked File As ...".
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2008
    Location
    Illinois
    Posts
    54
    Plugin Contributions
    0

    Default Re: Digital Goods download button - possible to open new window?

    I seemed to have solved the problem of my were customers having losing access to the download links - when they have multiple downloads available after checkout. I changed the wording on the page - informing them to Right click on the download button(s) and select save Target as....

    What was causing the customer problems was when they would left click on one of the download buttons and it would open up the PDF file (very large pdf file) in the browser. By the time the file was fully downloaded and they clicked the back button the confirmation page was no longer available.

    DrByte thanks for your info on the Mac stuff...
    Last edited by TJB; 18 Jun 2008 at 09:24 PM.
    Thomas Brophy

 

 

Similar Threads

  1. v154 Can I make my image links open in the same window rather than a new window?
    By cpmacg in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 15 Apr 2015, 08:59 PM
  2. Is 1.5.0 supporting NEW Payapl - Digital Goods for Express Checkout?
    By stefanl in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 7 Jan 2012, 09:28 PM
  3. Open PDF download in New Window?
    By treycarmichael in forum General Questions
    Replies: 0
    Last Post: 18 Dec 2010, 12:35 AM
  4. 1-click checkout possible for digital goods?
    By pilsun in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 11 Sep 2008, 04:18 PM
  5. Possible to Download button open an html window using .js?
    By hifipj in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Oct 2007, 08:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR