From 60a060ffcf254a8fa2310e1d7a222673dbf24e9d Mon Sep 17 00:00:00 2001 From: Makreig Date: Wed, 12 Aug 2020 11:01:06 +0100 Subject: [PATCH] updated ordersummary --- .../Checkout/Includes/OrderSummary.ss | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/templates/SilverCommerce/Checkout/Includes/OrderSummary.ss b/templates/SilverCommerce/Checkout/Includes/OrderSummary.ss index 411f85e..9d43bd0 100644 --- a/templates/SilverCommerce/Checkout/Includes/OrderSummary.ss +++ b/templates/SilverCommerce/Checkout/Includes/OrderSummary.ss @@ -10,11 +10,7 @@

- <% if not $SiteConfig.ShowPriceAndTax %> - $UnitPrice.Nice - <% else %> - $UnitTotal.Nice - <% end_if %> + $getFormattedPrice($ShowPriceWithTax)

@@ -68,16 +64,18 @@ <% end_if %> - - - - <%t Checkout.Tax 'Tax' %> - - - - {$TaxTotal.Nice} - - + <% if not $ShowPriceWithTax %> + + + + <%t Checkout.Tax 'Tax' %> + + + + {$TaxTotal.Nice} + + + <% end_if %>