From 3bb768320b5f47cef8a1dc694259f82e60fc2e30 Mon Sep 17 00:00:00 2001 From: mommaroodles Date: Fri, 26 Sep 2014 19:31:32 +0200 Subject: [PATCH 1/3] fixes php notice undefined variable: pass --- catalog/includes/modules/order_total/ot_shipping.php | 1 + 1 file changed, 1 insertion(+) diff --git a/catalog/includes/modules/order_total/ot_shipping.php b/catalog/includes/modules/order_total/ot_shipping.php index 5ba120032..95648452c 100644 --- a/catalog/includes/modules/order_total/ot_shipping.php +++ b/catalog/includes/modules/order_total/ot_shipping.php @@ -27,6 +27,7 @@ function process() { global $order, $currencies; if (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true') { + $pass = false; switch (MODULE_ORDER_TOTAL_SHIPPING_DESTINATION) { case 'national': if ($order->delivery['country_id'] == STORE_COUNTRY) $pass = true; break; From 05e3799150efceb202e77753ed0a9b7680dd233f Mon Sep 17 00:00:00 2001 From: mommaroodles Date: Fri, 26 Sep 2014 20:10:52 +0200 Subject: [PATCH 2/3] repositioned table tags and for loop closing curly braces --- catalog/checkout_shipping.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/catalog/checkout_shipping.php b/catalog/checkout_shipping.php index f0ebcc3ca..2194f8055 100644 --- a/catalog/checkout_shipping.php +++ b/catalog/checkout_shipping.php @@ -238,13 +238,9 @@ ?>
- - - -
 
@@ -255,7 +251,11 @@
+
+ + - + + + +
- - +
Date: Fri, 26 Sep 2014 20:22:18 +0200 Subject: [PATCH 3/3] reposition for loop closing curly brace --- catalog/checkout_shipping.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/catalog/checkout_shipping.php b/catalog/checkout_shipping.php index 2194f8055..e28ee9422 100644 --- a/catalog/checkout_shipping.php +++ b/catalog/checkout_shipping.php @@ -307,12 +307,13 @@