Problem with tax in 1.3.7

LiteCart Fan
Från Sweden
Medlem sedan juli 2013

After update from 1.3.4.1 to 1.3.7 I got tax error, I have never done any changes on tax settings. After update it adds all taxes 25+12+6% to produkt in shop.
I did try to delete all taxes and add it but the result is the same, if I delete all taxes and only have 25%left it works but I want to have all like before update.
I did the update on my test server and wont update real shop before I know how to fix this, anyone has a clue how to find a solution?
Update
I did  try once more whit backup and upgrade to 1.3.6 and tax is correct, and after check update to 1.3.7 I got tax error :(

/Foppa

LiteCart Fan
Från Sweden
Medlem sedan juli 2013

Hi
Thanks
Support ticket done, and uploded shop whit update from 1.3.4.1 to 1.3.7.
/Foppa

Main Crew
Från Sweden
Medlem sedan feb. 2013

Bug confirmed in 1.3.7.

To fix it manually here are instructions:

In includes/library/lib_cart.inc.php on line ~154, find

     $tax_rates_query = database::query(
        "select * from ". DB_TABLE_TAX_RATES .";"
      );

Replace with

     $tax_rates_query = database::query(
        "select * from ". DB_TABLE_TAX_RATES ."
        where tax_class_id = '". (int)$tax_class_id ."';"
      );

Your installation is already patched. A hotfix has been released.

LiteCart Fan
Från Sweden
Medlem sedan juli 2013

Thanks for the good and fast support!
/Foppa

Main Crew
Från Sweden
Medlem sedan feb. 2013

Thank you for reporting :)

Den här tråden har stängts på grund av lång inaktivitet. Det går inte att posta inlägg till den.
Denna webbplats använder inga kakor och ingen spårningsteknik från tredje part . Vi tror att vi kan göra det bättre än andra och tänker verkligen på din integritet.