Die Condition ist aber drin:
$calc_tax = ($use_price_class ? $xtPrice->calcTax($bulk_costs, $bulk_tax) : xtc_calculate_tax($bulk_costs, $bulk_tax));
$add_tax = ($use_price_class ? $xtPrice->xtcAddTax($bulk_costs, $bulk_tax) : xtc_add_tax($bulk_costs, $bulk_tax));
Ich könnte mir vorstellen, dass es eventuell an der Major-Version 2 liegt, auf welche geprüft wird, wir aber jetzt Version 3 und nur noch eine dreistellige Versionierung haben:
$use_price_class = PROJECT_MAJOR_VERSION == '2' && PROJECT_MINOR_VERSION > '0.6.0';
Also müsste die Definition vielleicht erweitert werden?
$use_price_class = PROJECT_MAJOR_VERSION == '2' && PROJECT_MINOR_VERSION > '0.6.0' || PROJECT_MAJOR_VERSION == '3';