This was originally reported at http://www.ubercart.org/forum/bug_reports/13328/tax_problem_v18 by rickyw.
Discussion and a solution is at http://www.ubercart.org/forum/support/13352/taxes_not_showing_after_upgr....
For convenience, here is the solution:
In module uc_taxes_workflow.inc, function uc_taxes_save_line_item (at the bottom of the file), change:
$_SESSION['taxes'][$line_item->id] = (array)$line_item;
to
$_SESSION['taxes'][$line_item['id']] = (array)$line_item;
There is no $line_item->id, so each time a new tax is written, it overwrites whatever was stored there before.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 692710_line_item_id.patch | 418 bytes | Island Usurper |
Comments
Comment #1
Island Usurper commentedThere must have been a change applied from the 2.x version, where line items are actually objects. Committed this patch based on your solution.