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

Custom Tax on custom shipping

Thread began 3/26/2011 3:15 pm by bjgarner241692 | Last modified 3/26/2011 5:00 pm by bjgarner241692 | 582 views | 1 replies |

bjgarner241692

Custom Tax on custom shipping

I have multiple tax rate for multiple jurisdictions.
I also have some items that are subject to tax and some that are not.

I have successfully setup all of the shipping rules to cover particular products and jurisdictions. That works fine.

I have one tax that applies to all products sold to customers in Canada. Works fine.
The other tax, only applies to some products in some provinces. I have all of that coding done and it works perfectly.

My only issue is with tax on shipping. I cannot use the simple check box for tax on shipping because one tax is calculated as a factor of the products sold so what I need in one of my tax rules is essentially this:

php:
$totalTax += ((($this->TotalColumn("PSTCalc")+($totalShipping)) * ($_SESSION["taxprov"])));//Result



Where $totalShipping is:

php:
<?php echo $eCart1->GetShipping(); ?>



As is often the case, I am sure my problem is simply syntax because the rule as I have it does not throw any errors, it just does not include the shipping value in the tax calculation.

Can anyone help?

Sign in to reply to this post

bjgarner241692

Problem solved.

$_SESSION, $_SESSION, $_SESSION

put it ALL in $_SESSION's

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