Hallo,
In Datei lang/german/german.php
Ziemlich am Ende Bereich // VAT ID
Folgenden Eintrag hinzufügen:
define('TAX_INFO_USTG','Endpreis, UST.-Befreiung gemäß § 19 UStG<br />');
In Datei includes/classes/main.php
Etwa Zeile 75 folgendes Suchen:
function getTaxInfo($tax_rate) {
// price incl tax
if ($tax_rate > 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] != 0) {
$tax_info = sprintf(TAX_INFO_INCL, $tax_rate.' %');
}
// excl tax + tax at checkout
if ($tax_rate > 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) {
$tax_info = sprintf(TAX_INFO_ADD, $tax_rate.' %');
}
// excl tax
if ($tax_rate > 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 0) {
$tax_info = sprintf(TAX_INFO_EXCL, $tax_rate.' %');
}
return $tax_info;
}
Und durch folgendes Ersetzen:
function getTaxInfo($tax_rate) {
// price incl tax
if ($tax_rate > 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] != 0) {
$tax_info = sprintf(TAX_INFO_INCL, $tax_rate.' %');
}
if ($tax_rate == 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] != 0) {
$tax_info = sprintf(TAX_INFO_USTG, $tax_rate.' %');
}
// excl tax + tax at checkout
if ($tax_rate > 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) {
$tax_info = sprintf(TAX_INFO_ADD, $tax_rate.' %');
}
if ($tax_rate == 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 1) {
$tax_info = sprintf(TAX_INFO_USTG, $tax_rate.' %');
}
// excl tax
if ($tax_rate > 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 0) {
$tax_info = sprintf(TAX_INFO_EXCL, $tax_rate.' %');
}
if ($tax_rate == 0 && $_SESSION['customers_status']['customers_status_show_price_tax'] == 0 && $_SESSION['customers_status']['customers_status_add_tax_ot'] == 0) {
$tax_info = sprintf(TAX_INFO_USTG, $tax_rate.' %');
}
return $tax_info;
}
Ist schon ne Weile her hoffe das war alles.
Gruß
Genndus