Zen Cart Logo
Forums / General Questions / Download Product - Download Free Product with Paid Product

Download Product - Download Free Product with Paid Product

Views: 733

Results 1 to 6 of 6
2 Dec 2014, 7:02 AM
#1
forum5 avatar

forum5

Zen Follower

Join Date:
Jul 2006
Location:
Louisiana
Posts:
147
Plugin Contributions:
0

Download Product - Download Free Product with Paid Product

I have several software products which are purchased and downloaded. In the Product Attributes I set each product up for downloading. This has been working properly for some time.

Now, with the purchase of a particular paid product, I want to include another software product which is free. This free software product does not currently have a product ID I just want to throw it in as a freebe to download.

Solution 1: Possible Work Around: In Admin, Order Update. Order Update #4 = 'Your Order is Ready For Download [4]'. I could include a link in the 'Comments' box pointing to the download. I could cut-n-paste the generic link into the Comments box for certain downloads, as I catch them but, this leaves the process open to error.

Solution 2: Set the product up as 'No Cost' item with a product ID and download. Is that possible with no cost on the product?

Solution 3: Is there a way to include a second free product download when the customer purchases say, product ID= #31, #32, #33 etc.?

4 Dec 2014, 5:04 AM
#2
forum5 avatar

forum5

Zen Follower

Join Date:
Jul 2006
Location:
Louisiana
Posts:
147
Plugin Contributions:
0

Re: Download Product - Download Free Product with Paid Product

24 hours and 79 views later no one has a possible answer for me? Maybe I misstated the question.
I have a CD that is being sold. It has been working with with 2 options for a couple years now. I am adding a third option.

Option 1: tell me what state you live in. The drop down lists 50 states (not 57). Buyer selects correct state.
Option 2: Tell me how you want to receive the files. Do you want to 1.download the files, 2. Ship the CD, 3. Download and Ship, 4. Download ISO
This week I tried to add a third option.
Option 3: Would you like to download the 'Free Software Viewer' with this order? (Default check box is ticked/marked)

When the Order is updated in the Admin panel to 'Ready for Download [4]'
Pending [1]
Processing [2]
Shipped [3]
Ready for Download [4]

The customer receives notice that the product is ready for download. (If he selected download)
Customer logs in to his account and goes to My Account, Previous Order, View. There he will see two download buttons.
The first item will download properly as it has for a couple years and the second one will not. Buyer receive the following when pressing the second button;

You don't have permission to access /zcart/pub/.ymnpzpywvlbvyfkewm/FreeViewer.exe on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at https://www.mystore.net Port 80

Is there a ZC matter that needs to be addressed? Is there a SSL matter that needs attention?

4 Dec 2014, 1:55 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Product - Download Free Product with Paid Product

It would be better to Zip the exe file ...

Right now. the problem is that exe is not an allowed extension in the .htacess files in:
/download
/pub

While you could edit those two files and add the exe to the list of allowed files, I would feel more comfortable if that file was a Zip file than an exe, but I am just a paranoid sort and do not like allowing exe files in those directories ...

4 Dec 2014, 4:23 PM
#4
forum5 avatar

forum5

Zen Follower

Join Date:
Jul 2006
Location:
Louisiana
Posts:
147
Plugin Contributions:
0

Re: Download Product - Download Free Product with Paid Product

Tnx. sounds logical. I'll try the zip route. The other files are zipped.

5 Dec 2014, 2:53 PM
#5
forum5 avatar

forum5

Zen Follower

Join Date:
Jul 2006
Location:
Louisiana
Posts:
147
Plugin Contributions:
0

Re: Download Product - Download Free Product with Paid Product

Ajeh:

It would be better to Zip the exe file ...
Right now. the problem is that exe is not an allowed extension in the .htacess files in:
/download
/pub

Yes the problem was the .exe extension. When .exe's removed all works well. Thank you so much for being there Linda. Coffee's on me.
Zip the files we did. That also allowed us to add a ReadMe.txt in to the zip.

5 Dec 2014, 10:14 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Product - Download Free Product with Paid Product

Thanks for the update that this worked for you ... I just really prefer not to allow .exe files and the Zip does avoid things like that ... :smile: