ryanmitchell
Okay,
My own extension done!
Now it calculates tax rate from line items properly, and shows tax amount on cart.
But it was not adding sum to order total.
i have fixed this by adding ‘+’ to the array :
$actions = [
'value' => '+' . $value,
];
and to get tax amount have changed
return ($cartItem->qty * $cartItem->price * $cartItem->tax_rate) / 100;
And it works pretty good with Inclusive / Exclusive tax mode
Thank you very very much Dear Ryan. Thank you very much for all your efforts.
This is really solved my problems!! 😉 😃
Calculated tax on cart: