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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

confirm.php not saving Order Summary data

Thread began 2/20/2012 11:53 am by martin400112 | Last modified 2/22/2012 12:00 pm by martin400112 | 690 views | 7 replies

martin400112

confirm.php not saving Order Summary data

Hi!
I have been putting a site together for a client who pays commission to her staff when an order is placed by one of their logged in customers.

In order to cope with the possibility of a change in commission rate down the line, I am trying to add a new column to the orders table called Ord_Comm. I currently have the datatype set as FLOAT (the same as the OrderAmount field).

I have added the commission calculation to the form using some basic php maths. The grand total is taken from the e-cart object and the commission rate is taken from a recordset. The calculation in the hidden field on the form displays perfectly.

Now, in the Store Summary in Database behaviour, I have linked my Ord_Comm database field with the 'commission' field in the form on the page, but it will not save the calculated commission rate into the database.

At the same time, there is another column called 'ComPaid_ord' which has a value of '0' added into the Store Summer in Database behaviour and this enters '0' in every time I put a dummy order through.

Any ideas? My client is demonstrating this on Wednesday evenign (UK time) and would greatly appreciate a pointer or two on what's going on...or not!

Many thanks,

Martin

Attached Files
form_confirm.zip

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