From 4e4058bfa470be10a56064a7157e1c8a7887f603 Mon Sep 17 00:00:00 2001 From: cienislaw Date: Sat, 12 Apr 2025 11:40:33 +0200 Subject: [PATCH 1/2] Add carrier table labels Most fixes in Niara comes to non-advanced payment api 5-step checkout version. This is a first step to fix this issue and mimic those changes. --- order-carrier-advanced.tpl | 14 ++++++++++--- order-carrier-opc-advanced.tpl | 38 ++++++++++++++++++++-------------- 2 files changed, 34 insertions(+), 18 deletions(-) diff --git a/order-carrier-advanced.tpl b/order-carrier-advanced.tpl index 0557904..a9063e4 100644 --- a/order-carrier-advanced.tpl +++ b/order-carrier-advanced.tpl @@ -41,9 +41,12 @@
- + + -
+
+
diff --git a/order-carrier-opc-advanced.tpl b/order-carrier-opc-advanced.tpl index db8122d..dfcacbe 100644 --- a/order-carrier-opc-advanced.tpl +++ b/order-carrier-opc-advanced.tpl @@ -27,9 +27,12 @@
- + + -
+
+
@@ -261,9 +269,9 @@

{l s='Leave a message'}

{l s='If you would like to add a comment about your order, please write it in the field below.'}

- +
{/if} {if $recyclablePackAllowed} @@ -287,12 +295,12 @@ {if $gift_wrapping_price > 0}  ({l s='Additional cost of'} - {if $priceDisplay == 1} - {convertPrice price=$total_wrapping_tax_exc_cost} - {else} - {convertPrice price=$total_wrapping_cost} - {/if} - + {if $priceDisplay == 1} + {convertPrice price=$total_wrapping_tax_exc_cost} + {else} + {convertPrice price=$total_wrapping_cost} + {/if} + {if $use_taxes && $display_tax_label} {if $priceDisplay == 1} {l s='(tax excl.)'} From 6691b0a03b710ce1b5266c30dfb18da0980f2307 Mon Sep 17 00:00:00 2001 From: cienislaw Date: Sat, 12 Apr 2025 11:44:12 +0200 Subject: [PATCH 2/2] Remove extra child class Parent TD has already delivery_option_price which sets width of that cell. The same class set on child DIV shrinks delivery price text even more. --- order-carrier.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/order-carrier.tpl b/order-carrier.tpl index fd058b9..b95e6e8 100644 --- a/order-carrier.tpl +++ b/order-carrier.tpl @@ -85,7 +85,7 @@