Creating an Order History for your site
At the end of the tutorial you should have the following two pages:
This is the Order History page for your customers. If set up correctly, it should display all the orders for the user that is currently logged in.
This is the detail page for each order. In many cases, more than one item is purchased in a single order, so this page will list all of the items for the particular order.
As far as implementing into your site, you should just add a link for 'Order History' somewhere that makes sense - Perhaps in the main navigation. This link would go to the customer_order_history.php. If you followed the SecurityAssist steps that are in the tutorial, a customer who is not logged in yet, should be required to log in to access this page. Once logged in, they will only be able to see the orders associated with their User ID.
The customer_order_detail.php should be accessible only from the Order History page, and this should already be set up by the DataAssist wizard.