close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Order History & Details pages

Thread began 7/31/2011 11:06 pm by johna1964 | Last modified 1/13/2012 3:39 pm by afeliksas433126 | 1671 views | 10 replies |

johna1964

Order History & Details pages

How do customers access their specific order history and details?

This may sound like a no brainer, but I really simply don't understand how the user looks at their own order history or even if this is what the purpose is...

How would I allow previous customer to view their own purchase history? I think the UserID in the session variable that allows them to access their history, but what do I need to get them there?

Also, what is the details page specifically for - regarding their personal experience?

As you can see, I'm a little lost...

Thanks!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

to be able to create an order history page, you first need to force users to login before they can go through the order process.

when the order is stored in the orders table after being processed through the payment gateway, you would need to store the users ID in a column of the orders table to associate the order to the user account of the person that placed the order.

the order history section will have an orders page, this lists each orderr that has been placed, total of the order and other information along those lines, the order detail page would show a listing of the items that where purchased for a specific order.


for details on how to create the order history pages, see the following tutorials on the eCart support page:

Applying Register/Login to your checkout

Automatically populating checkout fields

Creating an Order History page


ecart/

Sign in to reply to this post

johna1964

Jason,

Hi again...
Let me explain further....

I have already created the forced login from checkout pages...and followed the how to create an order history tutorials.

I am not understanding is how they arrive at the order history page…a link to the page…once they are logged in under their account…in which case they would be redirected to login if they are not logged in already….

In this design, in order to do this, do I a add a dynamic link to css menu writer, for example: Your Account (even though none of my other menu links are dynamic); then select my connection; users table; UserID; UserID;...

I’m not sure how to go about doing this…

What I’m needing is the menu link to force login if they are not logged in or if they are logged in, go to a page (their own account page) where they will be able to link to their customer_order_history.php page…

I’m hoping this is making sense….I just need some guidance…

Also; after running DA wizard to create the order history, should I have used the public results page layout so I can select show 1 column? Then will results run vertical instead of across and off the page?

If so I will need to rerun the wizard and redo the update the server behaviors etc...?

Much thanks!

johna1964

Sign in to reply to this post

johna1964

Jason,

Pleasant surprise...added the link to the menu...it redirected automatically...should have know that.

I'm sure I'll need you again, but for now I'm okay...

Thanks!

johna1964

Sign in to reply to this post

johna1964

My question is:

Is there a way to reduce the size of the columns in the customer_order_history.php and customer_order_details.php pages.

WSFE63B9E5-C536-4c25-BA30-5C122914F9ADa.html

These options are not working....

Also; can you use the dw table>delete column option instead of hightlight>delete on both pages?

Thank you again!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

you should be able to change the width by setting the width on the <th> elements:

for example:
<th class="WADAResultsTableHeader" width="40">DetailID:</th>



yes, the Modify -> Table -> Delete Column option will delete the selected table column.

Sign in to reply to this post

johna1964

Jason,

Thanks!

I'll give that a try...

Johna

Sign in to reply to this post

johna1964

Jason,

Hi!

I had to upload to see the changes....one more question here...

I combined the shipping info into one column. I put </br> in between to see if I could put line breaks between the php code. It seems to work in all except Safari (Not sure if it will stay that way),but I was wondering if there is a better way?

In other words, instead of having separate columns for the shipping name, address, city, etc. I combined them into one column...If I don't put the </br> inbetween, they run together...is there a way to do this properly?

Thank you!!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

  .is there a way to do this properly?  




properly is a subjective term in this instance.

some people like to have line breaks using <br /> some like to have blank spaces between using &nbsp;

others like to use a combination of the 2.

"properly" is what ever works for you.

Sign in to reply to this post

johna1964

Jason,

Thanks!

Johna

Sign in to reply to this post
loading

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