Name

MV_STATE_TABLE — name of database containing state, country and province information

SYNOPSIS

{ database... }

DESCRIPTION

Table to search for state-related information, such as state names, postcodes, tax rates and shipping methods available.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Put the following in catalog.cfg:

Variable MV_STATE_TABLE  state

NOTES

AVAILABILITY

MV_STATE_TABLE is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Interpolate.pm
Line 5540 (context shows lines 5530-5544 in tax_vat():5513)

$type =~ s/^\s+//;
$type =~ s/\s+$//;

my @taxes;

if($type =~ /^(\w+)$/) {
  my $sfield = $1;
  my $state  = $opt->{state} || $::Values->{$sfield};
  return 0 if ! $state;
  my $stable   = $opt->{state_table}
        || $::Variable->{MV_STATE_TABLE}
        || 'state';
  my $s_taxfield   = $opt->{state_tax_field}
        || $::Variable->{MV_STATE_TAX_FIELD}
        || 'tax';

AUTHORS

Interchange Development Group

SEE ALSO

MV_COUNTRY_TABLE(7ic), MV_TAX_TYPE_FIELD(7ic), MV_TAX_CATEGORY_FIELD(7ic)

DocBook! Interchange!