Skip to content
thewojogroup edited this page Sep 13, 2010 · 6 revisions

You can specify and display a tax rate for the current total with

simpleCart.taxRate = 0.07;

If you would like to display the tax rate or tax charges for the order, you can use:
Tax Rate: <div class="simpleCart_taxRate"></div>
Tax on this Order: <div class="simpleCart_taxCost"></div>

Any element with a class of “simpleCart_taxRate” will be populated with the tax rate shown as a percentage, and an element with a class of “simpleCart_taxCost” will be populated with the current tax cost as a dollar amount.
Clone this wiki locally