Fix order fees total

This commit is contained in:
Alex P 2022-06-17 09:41:05 +03:00
parent 04aba8ceb1
commit af15246a96
3 changed files with 42 additions and 4 deletions

View file

@ -142,7 +142,7 @@ class AmountFactory {
$total = new Money( $total_value, $currency );
$item_total = new Money(
(float) $order->get_subtotal(),
(float) $order->get_subtotal() + (float) $order->get_total_fees(),
$currency
);
$shipping = new Money(