close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Need Help with setting up recordset for downloads

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

bac4571381904

Thank you for your quick reply, basically I want the customer to be able to click add to cart to purchase the item,Then on the cart page click the checkout button, then enter the necessary billing info on the checkout out page then it will take them to the confirm page to make sure info the imputed is correct. Then if everything goes well they will receive a sales receipt via email and on the order has been authorized page there will be a download link to download the product and when they click that, the download box should open up to save the download. And if the download box doesn't open then it will take them to the actual download page (download.php).

And this is for the other question

Order Details Table (ecart store details in database)
details_ID left bank (primary key with auto increment)
first_name
last_name
details_orderID <?php echo ((isset($_SESSION["eCart1_OrderID"]))?$_SESSION["eCart1_OrderID"]:""); ?>

details_productID
details_productname
detail_productdesc
detail_quantity
detail_price
timestamp
details_downloads
street1
zip

Orders table ( ecart store summary in database)

orderID left bank (primary key with auto increment)
first_name
last_name
orderReferenceID <?php echo session_id(); ?>
ordervisitorID
ordertotal
orderdate
orderaddress
orderzip
City
State

My database is set up with NO foreign keys and both of those tables have primary keys.

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