close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Taxes

Thread began 2/24/2010 2:31 pm by s_lasry191696 | Last modified 3/25/2010 6:18 pm by s_lasry191696 | 1052 views | 8 replies

Eric Mittman

You should get this all sorted one part at a time, it can be difficult to work with more than one objective at once.

You should start with your tax rules. The first rule you will have will check if the user has selected Canada and the shipping country. The value that the user enters into the checkout form is stored in this session variable:

php:
$_SESSION["eCartCheckoutForm_shipping_country"]



You will need to setup a new tax rule, the first thing you need to do in this rule is check that this session variable exists, then you need to check to see if it is set to CA. You can reference the session variable by name, eCartCheckoutForm_shipping_country.

For the calculation you will choose subtotal for the entire cart 'times' 0.05 for 5%. The next rule for ON customers will be very similar, but you will check the eCartCheckoutForm_shipping_state_province session variable and make sure it is set to ON. Then just configure the amount just like the first one but use 0.08 instead.

With both rules setup a Canadian customer would see the regular 5% tax. If the customer also chose ON as the province then they would see an additional 8% tax.

You can disable shipping rules with eCart, or you can just make sure not to check the box to enable shipping in the settings tab in the admin area. You can get the shipping and tax information on the cart page but you will first need to gather the user's location information. This is why it is done when checking out by default. The user gets a chance to see the order details and amounts on the confirm page before the order is processed.

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