Hello Simon,
my modules listed as followed:
- subtotal
- coupon
- shipping
- voucher
- tax
- total
So I can change order and put tax before voucher, then it's displayed, but that creates a mess for german tax laws.
At the moment I understand that:
Code: Select all
public function getTotal(&$total_data, &$total, &$taxes) {
from one to the following total module the variables $total_data, $total and $taxes are given over.
In tax-module the foreach isn't accomplished, because $taxes are empty:
Code: Select all
foreach ($taxes as $key => $value) {
if ($value > 0) {
So tax isn't displayed.
I don't understand, why $taxes is also set to zero when $total is set to zero by voucher module?!
Maybe you or someone else knows what / why...
Regards
Andreas