From 0251d96eb8717e15471b8c44347feaf97c3dc80c Mon Sep 17 00:00:00 2001 From: Paul Kilmurray Date: Thu, 20 Apr 2023 19:29:35 +0000 Subject: [PATCH] add fee to receipt template --- templates/receipt.php | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/templates/receipt.php b/templates/receipt.php index ef9887d..cfac9c5 100644 --- a/templates/receipt.php +++ b/templates/receipt.php @@ -221,6 +221,12 @@ get_shipping_total() ) ); ?> + get_fees() as $fee ) : ?> + + + get_total() ) ); ?> + + get_total_discount() > 0 ) : ?> @@ -228,12 +234,19 @@ - get_tax_totals() as $code => $tax ) : ?> + + get_tax_totals() as $code => $tax ) : ?> + + label ); ?> + amount ) ); ?> + + + - label ); ?> - amount ) ); ?> + countries->tax_or_vat() ); ?> + get_total_tax() ) ); ?> - +