close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Order & OrderDetails Database Shipping Fulfilment Reports

Thread began 12/29/2009 6:24 pm by Kevin373660 | Last modified 12/30/2009 12:58 pm by Eric Mittman | 941 views | 1 replies |


Order & OrderDetails Database Shipping Fulfilment Reports

With Web Developer Suite, mySQL, and php…

Currently my eCart shopping area is completed and the Admin backend has the pages created for the report/detail/update/insert/search pages specific for one table or the other (orders & orderDetails).

Now I need to create reports for shipping and accounting that combine the customer order information from the two data base tables (orders & orderDetails) into one report. At this point I do not need graphic results, just show it on the screen and/or printed details. WebAssist probably has something in the works but I think it would be a fantastic additional module.

With our eCart up and running, we urgently need a report that can be used to prepare shipments. At the moment I am just writing it down manually so that we can keep up. Basically we need to know who ordered what. (Similar to a packing list or purchase order) For our purposes this could be a separate page for each customer order. I think that this might be the easiest to start with.

I am assuming this would involve using DataAssist to pull up the order with a repeating region for the order details? It might be similar to how I did the parents profile that shows the kids profiles under their account. I am not sure if this entry should be under eCart or DataAssist. What is my best approach and how would I proceed? Some clear direction is needed. Thank you.

Sign in to reply to this post

Eric Mittman

I think the best way to implement this type of listing would be in a details page that is linked to from an orders results page.

If you ahve a results page for orders already then you just need to add in a page for the order details. The idea is that this details page would have a recordset on it that would select all from the order details table where the order id matches the selected order from the order results page.

How you craft this is to make a link out of the order number on the order results page. This link will go to your new details page. In this link you will need to pass along the order id.

Next you create the details page that has the recordset on it. This recordset will be filtered on your URL parameter that you added to the link on the order results page.

With the page setup like this you will be able to select an order and on this details page you will see all of the items and prices for that order. If you would also like to show all of the info from the order table you can do that also, you will need to update the query though.

To view all of the info you would need to have a join query that joins the orders and order details table on the order id, it would look something like this:

SELECT * FROM order_details
JOIN order ON order_details.orderID = orders.orderID
WHERE order_details.orderID = <your URL parameter>

This would allow you access to the info from the order record as well as the details of the order.

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





Ease of use


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