Name

MV_COUNTRY_TABLE — name of database containing countries, country codes, etc.

SYNOPSIS

{ database... }

DESCRIPTION

Table to search for country-related information, such as selector and ISO names or shipping methods available.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Put the following in catalog.cfg:

Variable MV_COUNTRY_TABLE  country

NOTES

AVAILABILITY

MV_COUNTRY_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 5521 (context shows lines 5511-5525 in tax_vat():5513)

}

sub tax_vat {
my($type, $opt) = @_;
#::logDebug("entering VAT, opts=" . uneval($opt));
my $cfield = $::Variable->{MV_COUNTRY_TAX_VAR} || 'country';
my $country = $opt->{country} || $::Values->{$cfield};

return 0 if ! $country;
my $ctable   = $opt->{country_table}
      || $::Variable->{MV_COUNTRY_TABLE}
      || 'country';
my $c_taxfield   = $opt->{country_tax_field}
      || $::Variable->{MV_COUNTRY_TAX_FIELD}
      || 'tax';

AUTHORS

Interchange Development Group

SEE ALSO

MV_STATE_TABLE(7ic), MV_TAX_TYPE_FIELD(7ic), MV_TAX_CATEGORY_FIELD(7ic)

DocBook! Interchange!