View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Need Help with setting up recordset for downloads

Thread began 11/22/2009 12:40 am by bac4571381904 | Last modified 12/21/2009 2:25 pm by bac4571381904 | 2669 views | 29 replies

bac4571381904

I think were almost there. Thanks for staying with me on this one. Now on the checkout_success page the link isnt coming up with the file name.
This is my recordset on the checkout success page:

SELECT *
FROM orders INNER JOIN detail_table ON orders.OrderID = detail_table.details_orderID
WHERE orders.OrderID = paramOrderID

Variable

Name: paramOrderID
Type: text
default value: -1
Runtime value: $_SESSION['OrderID']

Then for the link i went into the bindings panel and expanded the recordset and dragged the details_productname and for the url i made it go to download.php with one parameter which is:

proID <?php echo $row_download['details_productID']; ?>


Then on the download page the recordset is:


SELECT *
FROM product_tables INNER JOIN detail_table ON product_tables.pro_ID= detail_table.details_productID INNER JOIN orders ON orders.OrderID = detail_table.details_orderID
WHERE product_tables.pro_ID=paramProdID AND detail_table.details_downloads < 5

Variable:

Name: paramProdID
type: integer
default value: -1
runtime value: $_GET['prodID']

And then for the webassist digital file pro server behavior i followed the instructions in the turtorial.

But why isnt the link showing up after i purchased the product? Is there any more things I need to add for the ecart object like specific columns? Or am i missing something?

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