Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / download button - text link

download button - text link

Views: 648

Results 1 to 6 of 6
12 Jan 2013, 10:06 AM
#1
xr3461 avatar

xr3461

New Zenner

Join Date:
Dec 2012
Posts:
29
Plugin Contributions:
0

download button - text link

:blink:Instead of offering the download button after checkout, how can the customers be given the full text url so that they can copy and paste it somewhere else. It should be a temporary link similar to the download button, but the only difference being that it is a text link and will expire in the set number of days.

12 Jan 2013, 5:57 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: download button - text link

Question: Why do you feel you need that?

The customer can easily right-click the button and choose "Copy URL" or "Copy Link" from the menu that appears.
But it won't work unless they're logged in to their account, for security reasons ... ie: part of the link expiration process.

16 Jan 2013, 7:53 AM
#3
xr3461 avatar

xr3461

New Zenner

Join Date:
Dec 2012
Posts:
29
Plugin Contributions:
0

Re: download button - text link

I would like to offer the download as a text link because some people may not know what to do when an image opens in their browser. Of course can do it as a zip file, but then customers have to go through the hassle of unzipping it.

16 Jan 2013, 8:04 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: download button - text link

What kind of files are they downloading? Are the JPG images? Or something else?

17 Jan 2013, 9:40 AM
#5
xr3461 avatar

xr3461

New Zenner

Join Date:
Dec 2012
Posts:
29
Plugin Contributions:
0

Re: download button - text link

jpg files

17 Jan 2013, 10:09 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: download button - text link

Then add |jpg| to the two lists of filetypes in your /pub/.htaccess file, such as in addition to where |pdf|PDF| is listed.