close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Downloading a file after the payment process

Thread began 11/20/2011 4:39 am by Mr.N123 | Last modified 12/06/2011 5:18 am by Mr.N123 | 2054 views | 7 replies |

Mr.N123

Downloading a file after the payment process

Hello,

I am kind a stuck with this. How can i set Digital File Pro 2 to download a certain file that user have bought? probably using some variables to pull it out but how?

Thank you for any advise in advance.

Sign in to reply to this post

iansheldon422428

It all depends on how you have set your planned and developed your solution.

The best way would be to have your customers table, with a unique ID for each customer. Then when your customers place an order you write the order to an 'orders' table, which also contains the unique ID or download path of the products.

That way, when the customer logs in to the customer area of your store you can retrieve the orders for that customer by setting a session variable as the unique customer ID and then using that session variable when querying the orders table (i.e. only pulling back the orders for that customer).

Hope that helps?

Thanks
Ian

Sign in to reply to this post

Jason ByrnesWebAssist

on the eCart support page, there are tutorials for creating an order history and download center that will help point you in the right direction.

ecart/

Sign in to reply to this post

Mr.N123

on my download center page the images on "thumbnail" is displayed with ecart's own tag using <?php echo $eCart1->DisplayInfo("Thumbnail"); ?>. And next to it i got download button, and in the database i got a column called "ProductLocation" for each images. Now i use Digital File 2 to download each specific images from location "ProductLocation". However i manage only download the first image on first row of image and its location.

how do customize the download form that will trigger the download for each image specified.

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of your page in a zip archive so i can look at the code.

Sign in to reply to this post

Mr.N123

here is attachment of the download page. See if you can find any solution..

Attached Files
download_Center.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Mr.N123

i am still stuck with this issue. How to download a file from a thumbnail with specified location. I am kind a newbie to PHP so any help will appreciated.

I manage to display the image from thumbnail <?php echo $eCart1->DisplayInfo("Thumbnail"); ?> and i want to put a download link to every image to the Row location. How could i successfully make a link between images and location?

i have seen that people are using separated download.php file to do this but i don't know how. Is there more less PHP way to get the file downloaded?

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...