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

rating

eCart Shopping cart summary only showing "Order Total"

Thread began 1/17/2010 6:01 pm by Andre.M | Last modified 1/19/2010 12:36 pm by Jason Byrnes | 1747 views | 3 replies |

Andre.M

eCart Shopping cart summary only showing "Order Total"

Hi All,
Ive got the site on the server testing everything, i came across the eCart shopping cart summary after i add a product everything updates as should except

the table containing :

Sub-total:
Discounts:
Charges:
Sales Tax:
Order Total:

only displays Order Total.

I have replaced the cart.php with a fresh one, i thought maybe it was an edit in css so i backed up my modified css and replaced with fresh css folder.

im looking at the code on cart.php and i see the lines:

if ($WA_Store_Cart->GetTax() > 0)     {
?>
<tr>
<th>Sales Tax:</th>
<td><?php echo WA_eCart_DisplayMoney($WA_Store_Cart, $WA_Store_Cart->GetTax()); ?></td>
</tr>
<?php
//WA eCart Merchandizing Show End
//ecart="WA_Store_Cart"
}
?>

im thinking its stating that if GetTax is greater then 0 display the table row.
i just cant think why it would not display the rows?

any ideas

btw:all products are in DB and mysql connection work perfectly

Sign in to reply to this post

Jason ByrnesWebAssist

This means that the rules for applying the tax to the cart have not been fulfilled yet.
In the eCart object, how is the tax rule defined? Usually, it is based on the billing state. The user does not enter the billing state until they click the checkout button and fill in the checkout form.

In most cases, you will not see a tax rate on the cart page, the tax rate will be calculated on the confirm page, after the user has filled in the checkout information.

Sign in to reply to this post

Andre.M

Hi Jason,
I just found that if i edit WA_Globals.php
and i make the state variable nothing:
// Tax Setting
$WAGLOBAL_TaxRate = 0.825;
$WAGLOBAL_TaxState = "";

the sub-total and sales tax area shows on the cart.php order summary.

if i place a state it blanks the table rows!


eCART tax setup is shown on image 3

if i comment out the if else statements controlling the display of the table rows everything shows: image 4

i have so far replaced folders with fresh ones:
WA_ValidationToolkit
WA_eCart
WA_SecurityAssist
WA_DataAssist
WA_Cookies
WA_SpryAssets
WADbSearch

im lost

Sign in to reply to this post

Jason ByrnesWebAssist

In your last screen shot, the tax value that is displaying is 0. do you want the tax value to display even if it is 0? if so, you will need to comment out the if else statements controlling the display of the table rows.

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