Also für alle die es brauchen können:
Öffne die Datei includes/classes/main.php und suche folgenden Code:
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 ersetze ihn mit diesem Code:
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;
}
Anschließend gehe in die Datei lang/german/german.php und füge am Ende vor ?> folgenden Code ein:
define('TAX_INFO_USTG','§25a UstG kein Vorsteuerabzug');
Solltest Du mehrere Sprachen verwenden, dann natürlich dasselbe in den entsprechenden anderen Sprachen anpassen. Also jeweils lang/SPRACHE/SPRACHE.php
Den Hinweis auf §25a UstG zeigt er jetzt immer an, wenn Steuersatz 0% ist. Ist eine Schnelllösung.
Funktioniert auch mit Händlerstatus.
Besten Dank an die Arbeit von BastardOperator
MfG