close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

bindings and confirm.php

Thread began 1/17/2010 6:20 am by watercolor346374 | Last modified 1/18/2010 10:05 am by Jason Byrnes | 793 views | 1 replies |

watercolor346374

bindings and confirm.php

Hi,
I have noticed that in my orders table the total is not the total but it is the cost of one item. So I went in to the database bindings for this table and attemted to rebind the total column to subtotal (which I want) it would not bind to the subtotal it would bind to the price. Even when I attemted to bind it to the grandtotal, I would get messages about white space. Could you please check this to see why I cannot bind my total column in orders table to subtotal?
Thank you

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

Jason ByrnesWebAssist

change line 126:

php:
$WA_fieldValuesStr = WA_eCDB_ConvertNumber("".$megan_isaacs->GetShipping()  ."") . "|" . WA_eCDB_ConvertNumber("".$megan_isaacs->DisplayInfo("Price")  ."") . "|" . WA_eCDB_ConvertNumber("".$megan_isaacs->GetTax()  ."") . "|" . "".((isset($_POST["firstname"]))?$_POST["firstname"]:"")  ."" . "|" . "".((isset($_POST["lastname"]))?$_POST["lastname"]:"")  ."" . "|" . "".((isset($_POST["street1"]))?$_POST["street1"]:"")  ."" . "|" . "".((isset($_POST["street2"]))?$_POST["street2"]:"")  ."" . "|" . "".((isset($_POST["city"]))?$_POST["city"]:"")  ."" . "|" . "".((isset($_POST["state_province"]))?$_POST["state_province"]:"")  ."" . "|" . "".((isset($_POST["postcode"]))?$_POST["postcode"]:"")  ."" . "|" . "".$_SESSION['insert_order_status']  ."" . "|" . "".$_SESSION['date'] ."" . "|" . "".((isset($_POST["countyid"]))?$_POST["countyid"]:"")  ."" . "|" . "".((isset($_POST["country"]))?$_POST["country"]:"")  ."" . "|" . "".((isset($_POST["phone"]))?$_POST["phone"]:"")  ."" . "|" . "".((isset($_POST["email"]))?$_POST["email"]:"")  ."" . "|" . "".((isset($_POST["shipping_firstname"]))?$_POST["shipping_firstname"]:"")  ."" . "|" . "".((isset($_POST["shipping_lastname"]))?$_POST["shipping_lastname"]:"")  ."" . "|" . "".((isset($_POST["shipping_street1"]))?$_POST["shipping_street1"]:"")  ."" . "|" . "".((isset($_POST["shipping_street2"]))?$_POST["shipping_street2"]:"")  ."" . "|" . "".((isset($_POST["shipping_city"]))?$_POST["shipping_city"]:"")  ."" . "|" . "".((isset($_POST["shipping_state_province"]))?$_POST["shipping_state_province"]:"")  ."" . "|" . "".((isset($_POST["shipping_postcode"]))?$_POST["shipping_postcode"]:"")  ."" . "|" . "".((isset($_POST["shipping_phone"]))?$_POST["shipping_phone"]:"") ."";




to:

php:
$WA_fieldValuesStr = WA_eCDB_ConvertNumber("".$megan_isaacs->GetShipping()  ."") . "|" . WA_eCDB_ConvertNumber("".$megan_isaacs->TotalColumn("TotalPrice")  ."") . "|" . WA_eCDB_ConvertNumber("".$megan_isaacs->GetTax()  ."") . "|" . "".((isset($_POST["firstname"]))?$_POST["firstname"]:"")  ."" . "|" . "".((isset($_POST["lastname"]))?$_POST["lastname"]:"")  ."" . "|" . "".((isset($_POST["street1"]))?$_POST["street1"]:"")  ."" . "|" . "".((isset($_POST["street2"]))?$_POST["street2"]:"")  ."" . "|" . "".((isset($_POST["city"]))?$_POST["city"]:"")  ."" . "|" . "".((isset($_POST["state_province"]))?$_POST["state_province"]:"")  ."" . "|" . "".((isset($_POST["postcode"]))?$_POST["postcode"]:"")  ."" . "|" . "".$_SESSION['insert_order_status']  ."" . "|" . "".$_SESSION['date'] ."" . "|" . "".((isset($_POST["countyid"]))?$_POST["countyid"]:"")  ."" . "|" . "".((isset($_POST["country"]))?$_POST["country"]:"")  ."" . "|" . "".((isset($_POST["phone"]))?$_POST["phone"]:"")  ."" . "|" . "".((isset($_POST["email"]))?$_POST["email"]:"")  ."" . "|" . "".((isset($_POST["shipping_firstname"]))?$_POST["shipping_firstname"]:"")  ."" . "|" . "".((isset($_POST["shipping_lastname"]))?$_POST["shipping_lastname"]:"")  ."" . "|" . "".((isset($_POST["shipping_street1"]))?$_POST["shipping_street1"]:"")  ."" . "|" . "".((isset($_POST["shipping_street2"]))?$_POST["shipping_street2"]:"")  ."" . "|" . "".((isset($_POST["shipping_city"]))?$_POST["shipping_city"]:"")  ."" . "|" . "".((isset($_POST["shipping_state_province"]))?$_POST["shipping_state_province"]:"")  ."" . "|" . "".((isset($_POST["shipping_postcode"]))?$_POST["shipping_postcode"]:"")  ."" . "|" . "".((isset($_POST["shipping_phone"]))?$_POST["shipping_phone"]:"") ."";
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...