Skip to content

Commit dce993f

Browse files
committed
Update voucher handling for includeShipping = false to include non-inclusive tax
1 parent 2cfce05 commit dce993f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adjusters/GiftVoucherAdjuster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function adjust(Order $order): array
4343
if ($settings->includeShipping) {
4444
$this->_orderTotal = $order->getTotalPrice();
4545
} else {
46-
$this->_orderTotal = $order->getItemSubtotal();
46+
$this->_orderTotal = $order->getItemSubtotal() + $order->getTotalTax();
4747
}
4848

4949
// Get code by session

0 commit comments

Comments
 (0)