Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Forcing download in new window/content type application/octet-stream

Forcing download in new window/content type application/octet-stream

Locked

Views: 1,926

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
5 Sep 2007, 12:04 AM
#1
robgnyc avatar

robgnyc

New Zenner

Join Date:
Jul 2007
Posts:
7
Plugin Contributions:
0

Forcing download in new window/content type application/octet-stream

I'm having some problems with IE not downloading virtual products correctly. It hangs sometimes and doesn't ask the user where to download the file.

To correct this I want all download links to launch a new window and have the download content type set to application/octet-stream.

How do I force Zen Cart to do this?

5 Sep 2007, 5:01 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Forcing download in new window/content type application/octet-stream

Try just forcing to application/octet by setting these under Admin->Configuration->Attribute Settings:

  • Download by Redirect = false
  • Download by streaming = true

.
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.