From be200df7d3e9b0fb65043627b35037eaf0046e6b Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 25 Sep 2026 11:48:39 +0200 Subject: - Module überarbeitet (PayPal, Gewicht) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/mods/mod_weight/basket_row.phtml | 11 +++++++---- views/mods/mod_weight/basket_row_end.phtml | 12 +++++++----- views/mods/mod_weight/overview_row.phtml | 12 +++++++----- views/mods/mod_weight/overview_row_end.phtml | 12 +++++++----- views/mods/mod_weight/product_addedit_content.phtml | 10 ++++++---- 5 files changed, 34 insertions(+), 23 deletions(-) (limited to 'views/mods/mod_weight') diff --git a/views/mods/mod_weight/basket_row.phtml b/views/mods/mod_weight/basket_row.phtml index e47000b..1f8b2aa 100644 --- a/views/mods/mod_weight/basket_row.phtml +++ b/views/mods/mod_weight/basket_row.phtml @@ -4,11 +4,14 @@ * Template für die Anzeige des Produktgewichts im Warenkorb */ //wpsg_debug($this->view); + + if (!defined('ABSPATH')) exit; + ?>
- - : - view['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> -
+ + : + view['weight'], $this->get_option('wpsg_mod_weight_unit'))); ?> +
\ No newline at end of file diff --git a/views/mods/mod_weight/basket_row_end.phtml b/views/mods/mod_weight/basket_row_end.phtml index 21d98b5..a58d2e0 100644 --- a/views/mods/mod_weight/basket_row_end.phtml +++ b/views/mods/mod_weight/basket_row_end.phtml @@ -4,15 +4,17 @@ * Template für die Anzeige des Gesamtgewichts innerhalb des Warenkorbs */ + if (!defined('ABSPATH')) exit; + ?>
- : + : +
+
+ view['wpsg_mod_weight']['weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
- view['wpsg_mod_weight']['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> +  
-
- -
\ No newline at end of file diff --git a/views/mods/mod_weight/overview_row.phtml b/views/mods/mod_weight/overview_row.phtml index a1cd49e..beac1f1 100644 --- a/views/mods/mod_weight/overview_row.phtml +++ b/views/mods/mod_weight/overview_row.phtml @@ -4,12 +4,14 @@ * Template für die Integration des Produktgewichts in die Bestellzusammenfassung */ + if (!defined('ABSPATH')) exit; + ?>
-
view['$bPicture'] == true) { ?>class="titlep">class="title"> - - : - view['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> -
+ + : + view['weight'], $this->get_option('wpsg_mod_weight_unit'))); ?> +
\ No newline at end of file diff --git a/views/mods/mod_weight/overview_row_end.phtml b/views/mods/mod_weight/overview_row_end.phtml index 84a3d83..d9a7f3e 100644 --- a/views/mods/mod_weight/overview_row_end.phtml +++ b/views/mods/mod_weight/overview_row_end.phtml @@ -4,15 +4,17 @@ * Template für die Integration des Produktgewichts in die Bestellzusammenfassung */ + if (!defined('ABSPATH')) exit; + ?>
- : + : +
+
+ view['wpsg_mod_weight']['weight'], $this->get_option('wpsg_mod_weight_unit'))); ?>
- view['wpsg_mod_weight']['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> +  
-
- -
\ No newline at end of file diff --git a/views/mods/mod_weight/product_addedit_content.phtml b/views/mods/mod_weight/product_addedit_content.phtml index 3f9be4e..34bd8ff 100644 --- a/views/mods/mod_weight/product_addedit_content.phtml +++ b/views/mods/mod_weight/product_addedit_content.phtml @@ -1,17 +1,19 @@ - view['wpsg_mod_weight']['weight']), array('unit' => $this->get_option('wpsg_mod_weight_unit'))); ?> + view['wpsg_mod_weight']['weight']), ['unit' => $this->get_option('wpsg_mod_weight_unit')]); ?> -
+
- + -- cgit v1.2.3