Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Need to set up Unique downloads based on text attributes

Need to set up Unique downloads based on text attributes

Locked

Views: 967

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
25 Jan 2009, 1:48 AM
#1
nyrad avatar

nyrad

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Need to set up Unique downloads based on text attributes

I am using the most current Zen Cart 1.3.8, and I offer historic documents as product downloads. Each document is specific to an individual, and I have to retreive them from archives before making them available for download. Currently I have the products set up to ask for defining information (name, date, organization), but I cannot ship when the order is placed and paid for.

What is the easiest way to set up unique download pages for individual customers? I want to notify them by email that the download is ready, and the email should contain a unique page specific to that order.

I have looked at setting up seperate ezpages, but I cannot control their lifespan (automatically)...

Any thoughts?

5 May 2010, 12:09 PM
#2
bigdrunk avatar

bigdrunk

New Zenner

Join Date:
Mar 2009
Posts:
40
Plugin Contributions:
0

Re: Need to set up Unique downloads based on text attributes

Did you get any joy with this? I'm looking to do something similar.

5 May 2010, 4:33 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Need to set up Unique downloads based on text attributes

You could customize the Order Status for the Order and how the Downloads work for them ...

By default, Downloads are available when the Order Status is set to Processing (orders_status 2) or Delivered (orders_status 3) or Updated (orders_status 4) ...

The consideration is when you have Downloads that are available right away, providing payment has been made, and Downloads that are dependent on you customizing the Download ...

1 the download filename has to be updated so that each customer gets the right download

2 the order status cannot make the download available until the customized download is available

One method would be to make the download filenames on the Attributes set to something like:
working.zip

Then customize the code to display something along the lines of:
working on it

rather than the download link ...

Then, you need an easy method to update the download filename on the Order when the customized download file is ready and be able to change the download filename from:
working.zip

to something like:
products_id-orders_id-customers_id.zip

-- or --

orders_id-products_id-customers_id.zip

-- or --

filename-customers_id.zip

which ever would have more meaning for creating the unique filenames for the download ...

This would take some customization to both the Catalog and the Admin ... but it could be done to make it a simple "click here" on the download of the order in the admin to update the filename in the database table for the orders_products_download with the new filename and that in turn would allow the download to be available to the customer as the name is no longer working.zip ...

Easy Smeazy, eh? :cool: