MV_TAX_CATEGORY_FIELD — name of column containing enumerated tax types, based on product category
Name of the column whose value will be retrieved in search of tax type applied to the specific product group.
Interchange 5.7.0:
Source: lib/Vend/Interpolate.pm
Line 5561 (context shows lines 5551-5565 in tax_vat():5464)
$rate /= 100 if $2;
$rate = $rate / (1 + $rate) if $Vend::Cfg->{TaxInclusive};
my $amount = Vend::Interpolate::taxable_amount();
$total += ($rate * $amount);
}
else {
$tax = Vend::Util::get_option_hash($t);
}
#::logDebug("tax hash=" . uneval($tax));
my $pfield = $opt->{tax_category_field}
|| $::Variable->{MV_TAX_CATEGORY_FIELD}
|| 'tax_category';
my @pfield = split /:+/, $pfield;
for my $item (@$Vend::Items) {