close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Order Details Page

Thread began 11/07/2011 6:02 am by goat200487425014 | Last modified 1/25/2012 11:27 am by afeliksas433126 | 3187 views | 22 replies |

goat200487425014

Order Details Page

I am having trouble getting this page to show up, I get this error when I try to bring it up in my browser.

Unknown column 'WADAOrderID' in 'where clause'

My Order Details Page is attached.

Attached Files
customer_order_details.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you have a couple of problems in the recordset.


1) Create a new parameter:
Name: WADAOrderID
Type: Integer
Default Value: -1
Run Time Value: $_GET['OrderID']


2) Edit the paramUserID parameter, you currently have the run time value set to use:
$_GET['OrderID']

it should be set to use the user ID session variable. the example from the tutorial is:
$_SESSION['UserID'].


but you will need to double check that is the session ceated by you login page.

to find the session name to use, go to the login page, double click the authenticate user behavior, go to step 3 and make not of the session name for the ID column.

Sign in to reply to this post

goat200487425014

Ok that fixed the problem. How do I get the Size column to show the actual size that they ordered?

Sign in to reply to this post

goat200487425014

I guess I should ask, how do I populate the Size column in the OrdersDetail table with the size they actually ordered?

Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page, edit the eCart Store Cart Details server behavior, bind the DetailProductSize column to the Size column from the cart.

Sign in to reply to this post

goat200487425014

I put <?php echo $LuckiexLosersCart->DisplayInfo("size"); ?> in the value field and I also change the type to text and it still doesn't display the sizes.

Sign in to reply to this post

goat200487425014

Nevermind, I had to change the Type field in my database for the size column.

Sign in to reply to this post

Jason ByrnesWebAssist

are you testing by placing new orders? This will not fix orders that have already been placed, only new ones.

Sign in to reply to this post

afeliksas433126

How to add "Store Details to Database Behaviour"

I need to add one more server behavior on "eCart confirm page" similar to "eCart Store Details to Database" in order to store Order ID in a different table "work_orders" at the same time when Order is Submitted.
Tried creating - it asks for to set the value of the column specified as Cart ID. How to get around it?

Can you please suggest how to post OrderID into to tables on database at the time when button "Submit" is pressed on eCart confirm page.

Sign in to reply to this post

Jason ByrnesWebAssist

the order id is a session variable created by the Store Order Summary behavior.

double click the store order summary behavior and look in the session variable section to find the name of the session that will be created.

in the store order details behavior, set the Order ID column to the column that will hold the order number and bind it to the session created by the store order summary behavior.

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