Name

TaxInclusive — display prices with tax amount included

SYNOPSIS

No | Yes

DESCRIPTION

Display product prices with tax amount included (instead of calculating and displaying tax amount separately). This is common in European countries.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Enabling TaxInclusive

TaxInclusive 1

NOTES

For a complete introduction to taxes, please see the tax glossary entry.

AVAILABILITY

TaxInclusive is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 669

['TaxInclusive',     'yesno',       'No'],

Source: lib/Vend/Config.pm
Line 5434 (context shows lines 5434-5446)

sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
  return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
  return 0;
}
else {
  config_error("Use 'yes' or 'no' for the $var directive\n");
}
}

AUTHORS

Stefan Hornburg (Racke)

SEE ALSO

DocBook! Interchange!