close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Order History Pages??? Having Troubles implimenting!

Thread began 10/07/2009 5:39 am by Doyleja368034 | Last modified 10/13/2009 4:11 pm by Eric Mittman | 1685 views | 3 replies |

Doyleja368034

Order History Pages??? Having Troubles implimenting!

Hi,

I went through the "creating an Order History page for customers" guide, this seems to have gone well!

But now I have two pages which I have no idea how I "fit" them into the site. I would imagine that they could be "linked" from the customers profile page.

Is this how it's done normally?

In any case would someone be so kind to help me impliments this feature?

Thanks for any assistance someone can give.

Sign in to reply to this post

Neil Beadle

Creating an Order History for your site

At the end of the tutorial you should have the following two pages:

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

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

Sign in to reply to this post

Doyleja368034

Thanks for your assistance

Hi Neil,

Well I did follow the "creating an Order History page for customers" to the letter when I went through it and it appeared the pages were created properly. I entered some test transactions into the data base plus I had some real transactions in there already.

But when I open the pages in the browser it would say "No results for your search". As to the linking, I added a link to the "order history' page and that worked but it didn't link to the "order details" even when logged in.

I don't know why it hasn't worked! I will start again and see what happens!

Sign in to reply to this post

Eric Mittman

Since the order history will be filtered on a particular user you must be logged in with a user that has orders associated with them in order to view the order history page properly. For the details page you should be able to just link directly to it with the identifier in the link.

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