close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

WI Sales Tax setup

Thread began 12/30/2009 9:01 am by brihod61 | Last modified 3/22/2010 11:31 am by brihod61 | 1114 views | 6 replies

Eric Mittman

That is great that you have a table with the info. So the idea is that you will create a recordset on the confirm page. This recordset will be filtered on the posted zip value if the selected state is WI.

To make sure this recordset is only created when the user selects WI you will need to add a custom if statement around the rs, it might look like this depending on your checkout form name for that field:

if(isset($_POST['state_province']) && $_POST['state_province'] == "WI"){

// the recordset goes here

Once the recordset is crafted you will add in a set session value server behavior. You give your session variable a name and for the value use the bindings to store the tax rate in this new variable.

Once you have done that you can craft the tax rule for the zip code. Create a new tax rule and for the trigger you will have two conditions. The first condition will be that the session variable exists and the second condition will be that it is not "" or blank.

Then for the calculation portion you will use the subtotal for the entire cart and multiply it by your session variable. You will need to enter your session variable like you would in code:


Please post back with any questions that you may have about any part of this.

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





Ease of use


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