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

Updating New Field in Orders Table

Thread began 1/20/2011 1:25 pm by carlene | Last modified 1/28/2011 4:04 pm by carlene | 1526 views | 10 replies

Jason ByrnesWebAssist

for these values to populate into the orders table, you need to follow a couple of additional steps aside from just adding the form fields to the checkout page.

For every form filed on the checkout page, you will see two things on the confirm page:

1) Near the bottom of the confirm page, there is a collection of hidden form elements set to capture the values posted from the checkout page

2) Near the top, there is code to store the posted values into session variables.

For each form element you add to the checkout page, you will need to add a corresponding hidden element that has the same name and is coded to capture the value from the checkout page.
So if you have a text box named "business", you need to add the hidden form element to the confirm page like:

<input type="hidden" name="business" id="business" value="<?php echo ((isset($_POST["business"]))?$_POST["business"]:""?>" />

then go to the server behaviors panell, clic kthe plus button and select eCart -> General -> Set Session value.

Set the trigger to any form post.

Set the name to be the same as the form element, in this example "business"

then click the lightning bolt next to value and select the business form element.

Once you have the set session value behavior and the hidden form element in place, you need to edit the Store Order Summary behavior to bind the new columns of the orders table to the form element that was added to the confirm page.

to edit the admin, yo should just be able to go to the bindings panel and select the new columns from the orders table and drag them to the display page.

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