For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

SalesTax

Enable the automatic addition of sales tax to an order value.

Synopsis

SalesTax  value

Scope

This directive is only available for use in the local (catalog.cfg) configuration file.  It will not affect any other website in any way.  This directive will not work in the global (interchange.cfg) configuration file. 

Description

This directive enables the automatic addition of sales tax, based upon the values given in an order form.  The value can be one of three types:

Type Description
multi This mode enables table-based lookup of taxing rates, based upon user-submitted form input values.  See the Multi (VAT) page for more information.
[Interchange tags] If the value contains a left square bracket, it is interpolated for Interchange tags, and the result used as the amount of the sale stax.  This could be useful if you want to use a custom UserTag for sales tax calculations.
name1, name2 A comma-separated list of the field names (as placed in the checkout page - "ord/checkout.html", for example) in priority order.  Two names are shown here, but you can have as many as you need.  These are be used to look up a sales tax percentage in the "salestax.asc "ASCII file.  The "salestax.asc" table is not supplied with Interchange.  See the Simple "salestax.asc" method for more information.

Example

SalesTax  zip, state

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Tuesday 8 August 2006 at 7:32 AM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us