View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

table for tax rates

Thread began 11/23/2009 9:22 am by watercolor346374 | Last modified 12/17/2009 3:56 pm by watercolor346374 | 2307 views | 21 replies

Eric Mittman

You are exactly rite about the recordset, but you would want to make sure it is on the page that your checkout form posts to, so check the action on the form for that.

Once the recordset is in place you will then be able to create a new session variable, you can do this by going to Server Behaviors > eCart > General > set session value. For the trigger you can use the posted element for the county. For the value of this session variable you will set use the lightning bolt icon to expand the bindings for your newly created recordset. In here you will select the column that holds the tax rate.

That should ensure that you are setting the session variable accordingly. You can then use this session variable as a trigger for the charge rule. In the rule you will first create the trigger, for the condition in the trigger you would select 'session variable exists' then select this session variable. Then for the amount you would use based on cart subtotal and use the subtotal times your session variable name for the total amount of the charge. For this part you must enter the name of the session variable just as it was set like this:

php:
$_SESSION['<your var>']



If you set it up like this it should dynamically apply the county tax charge based on the selection of the user. If you have any trouble with this or need some more info let us know and we will be glad to help with whatever we can.

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