close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart Store Summary only partially inserted into Database

Thread began 4/21/2014 3:44 pm by joerg431091 | Last modified 4/22/2014 12:39 pm by Jason Byrnes | 1788 views | 5 replies |

joerg431091

eCart Store Summary only partially inserted into Database

I upgraded to eCart 6 and added the Checkout process to a store for the first time. I am having trouble inserting the eCart Store summary into my existing database.

I hope I explain the problem correctly since I am a little confused and can not figure out what I am missing:

When I tried it first only some of the columns had been uploaded to the database so I checked in the “Store Cart Summary in Database” Server behavior and noticed that only those values had bindings to the columns. So I simply did bind the missing values to the columns using the server behavior in the confirm.php page.

But the values are still not included in the Database. I must miss something. Did I do this correctly by only add the values in the server behavior and upload the confirm.php page or is there something else I need to do?

Thanks a lot.

Joerg

Sign in to reply to this post

Jason ByrnesWebAssist

Can you provide a little more details please.

What columns in the orders table are not getting a value?

also please include a copy of the page so I can see the code.

Sign in to reply to this post

joerg431091

Hi Jason,

Thanks a lot for your response. I will attach a copy of the confirm.php page to this post.

I guess it must have to be something with the Database column names. The database is based on the Webassist database and most columns had been renamed over time. The column names that are still the same such as OrderEmail or OrderShipAddress for example are uploaded correctly but the columns that have been changed in the past (OrderBillFirstName, etc) are not uploaded.

So I guess it has to do with the binding of the values to this columns.

We have other stores (eCart 5) that work perfect with the new names and we simply changed the values in the server behavior of the confirm.php page for those stores. So I thought it is going to be the same with eCart 6 (adjusting the server behavior values) but I must miss something.

Here are the columns that are correctly uploaded to and the once that are not:

Correctly included are:

- all orderdetails information
- OrderAmount
- OrderShipName
- OrderShipAddress
- OrderEmail
- OrderTax


Not uploaded are:

- OrderBillFirstName
- OrderBillLastName
- OrderBillCompany
- OrderBillName
- OrderBillAddress
- OrderBillAddress2
- OrderBillCity
- OrderBillState
- OrderBillZip
- OrderBillCountry
- OrderBillEmail
- OrderBillPhone
- OrderShipAddress2
- OrderShipCity
- OrderShipState
- OrderShipZip
- OrderShipCountry
- OrderShipPhone

So what I did so far was going to the "Store Cart Summary in Database" server behavior of the confirm.php page and assigned the values to the columns.

Thanks a lot I appreciate your help.

Best,
Joerg

Sign in to reply to this post

Jason ByrnesWebAssist

the code for the oder email binding (which you say is working) uses the CheckoutWizard_Basic_Default form:
WA_getSavedFormValue("CheckoutWizard_Basic_Default","Email_Address")


The code for the OrderBillFirstName is using a diferant form, CheckoutWizard_NewFromBlank_Default,:
WA_getSavedFormValue("CheckoutWizard_NewFromBlank_Default","First_Name"))


go through each of the bindings and make sure they are all using the same form binding, CheckoutWizard_Basic_Default

Sign in to reply to this post

joerg431091

Oh my god you are right. Thank you so much!!!!!

I changed the checkout form design from Blank_Default to Basic_Default at one time and did not know that the old would still show up somewhere.

That of course did take care of it.

Thanks as always and have a great day.

Best,

Joerg

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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