close ad
 
Important WebAssist Announcement
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 10:25 am by carlene | Last modified 1/28/2011 1:04 pm by carlene | 2525 views | 10 replies

carleneBeta Tester

Updating New Field in Orders Table

Hello!

I need to have 2 new fields record data from the order forms into the ps3_orders table. How do I do this?

I've customized my PS3x store pretty heavily and am using it as a wholesale customer store. We have pre-assigned CustomerID numbers that need to correspond to each customer's orders. I have added this field to the ps3_users table and this data is correctly transferred to this new field in the table when users register. (They must input their Customer ID as well with registration.) I also added a field for the Customer's Business Name to the psd3_users table as well. All data is recorded properly upon registration.

My problem is with the orders. I've tried to add these fields to the checkout.php page - but the data is not recording in the ps3_orders table. I know that the confirm.php page is actually the page that records the checkout.php information into my database. Our store has no payment gateway because we pre-approve then process it internally.

I also need these two new fields to show up in my Admin order fields as well. We don't need First and Last name of the customers. Instead we need to see the CustomerID (ours, not the automatic UserID that the database generates), and the Business Name for all orders and in the Admin area of the store.

I'm not sure the best way to go about doing this. I've tried many different things and nothing seems to work. I do have DataAssist and all of the other WebAssist programs at my disposal. This one little problem is causing lots of issues for my store's usability here at the company.

I know that a session variable with the Customer ID from the PS3 users would come in handy - just don't know how to go about this.

Thanks! Carlene

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