Jump to content


This topic is now archived and is closed to further replies.


Upgrade from 2.3.3 to tax function stop working

Recommended Posts



After I update v2.3.3 to v2.3.3.1 the tax function stop working. When creating or editing products the tax NET and GROSS have the same value.


To continue to work I can't change the follow code in admin/includes/functions/general.php on tep_get_tax_rate_value():


function tep_get_tax_rate_value($class_id) {
$tax_query = tep_db_query("select SUM(tax_rate) as tax_rate from " . TABLE_TAX_RATES . " where tax_class_id = '" . (int)$class_id . "' group by tax_priority");
if (tep_db_num_rows($tax_query)) {
$tax_multiplier = 0;
while ($tax = tep_db_fetch_array($tax_query)) {
 $tax_multiplier += $tax['tax_rate'];
return $tax_multiplier;
} else {
return 0;




function tep_get_tax_rate_value($class_id) {
return tep_get_tax_rate($class_id, -1, -1);


Can someone tell me what is wrong?


Thanks in advance.

Share this post

Link to post
Share on other sites