From a95de0fa4cd3c617ef08a9679a6c32ae5f676fda Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 24 Sep 2026 11:24:12 +0200 Subject: - Feature: PHP 8.3 Kompatibilität - Feature: SmartCheckout - Ersatz für EinSeitenCheckout - Feature: Optik im Frontend an moderne Themes angepasst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/mods/mod_basketteaser/smartcheckout.phtml | 44 +++++++++++++ .../mod_orderupload/smartcheckout_checkout.phtml | 77 ++++++++++++++++++++++ views/mods/mod_orderupload/smartcheckout_row.phtml | 21 ++++++ .../mod_paypalapi/overview_preauth_button.phtml | 15 +++++ views/mods/mod_productvars/smartcheckout_row.phtml | 57 ++++++++++++++++ 5 files changed, 214 insertions(+) create mode 100644 views/mods/mod_basketteaser/smartcheckout.phtml create mode 100644 views/mods/mod_orderupload/smartcheckout_checkout.phtml create mode 100644 views/mods/mod_orderupload/smartcheckout_row.phtml create mode 100644 views/mods/mod_paypalapi/overview_preauth_button.phtml create mode 100644 views/mods/mod_productvars/smartcheckout_row.phtml (limited to 'views/mods') diff --git a/views/mods/mod_basketteaser/smartcheckout.phtml b/views/mods/mod_basketteaser/smartcheckout.phtml new file mode 100644 index 0000000..712098c --- /dev/null +++ b/views/mods/mod_basketteaser/smartcheckout.phtml @@ -0,0 +1,44 @@ + +
+ +
+ + view['wpsg_mod_basketteaser']['products'] as $p) { ?> +
+ + +
+ <?php echo esc_attr($p['name']); ?> +
+ + +
+
+ + + + + +
+
+
+ +
+ + +
+ +
+ + +
diff --git a/views/mods/mod_orderupload/smartcheckout_checkout.phtml b/views/mods/mod_orderupload/smartcheckout_checkout.phtml new file mode 100644 index 0000000..7da51cb --- /dev/null +++ b/views/mods/mod_orderupload/smartcheckout_checkout.phtml @@ -0,0 +1,77 @@ +view['wpsg_mod_orderupload']['uploadsum'] ?? 0); + $maxweight = (string)($this->view['wpsg_mod_orderupload']['maxweight'] ?? ''); + $bRequired = ($this->get_option('wpsg_mod_orderupload_optional') != '1'); + $bMulti = ($this->get_option('wpsg_mod_orderupload_multifiles') == '1'); + $arMessages = (array)($this->view['wpsg_mod_orderupload']['messages'] ?? []); + $arAllowed = (array)($this->view['wpsg_mod_orderupload']['allowedext'] ?? []); + $strAccept = implode(',', array_map(function($ext) { return '.'.$ext; }, $arAllowed)); + +?> +
+ +

+ +
+ +
+ +
+ + + +
+ + + +
    + $ou) { ?> +
  • + () + <?php echo esc_attr__('Löschen', 'wpsg'); ?> +
  • + +
+ + + 0) { ?> + accept="" + + aria-label="" + /> + + +
+ +
+ +
+ + +
+ +
diff --git a/views/mods/mod_orderupload/smartcheckout_row.phtml b/views/mods/mod_orderupload/smartcheckout_row.phtml new file mode 100644 index 0000000..66986f9 --- /dev/null +++ b/views/mods/mod_orderupload/smartcheckout_row.phtml @@ -0,0 +1,21 @@ +view['wpsg_mod_orderupload']['product_index']; + +?> +
+ +
+ +
+ view['wpsg_mod_orderupload']['strHTMLTarget']; ?> +
+ +
diff --git a/views/mods/mod_paypalapi/overview_preauth_button.phtml b/views/mods/mod_paypalapi/overview_preauth_button.phtml new file mode 100644 index 0000000..9fd775a --- /dev/null +++ b/views/mods/mod_paypalapi/overview_preauth_button.phtml @@ -0,0 +1,15 @@ + + +view['wpsg_mod_paypalapi']['preauth_changed']??false) === true) { ?> +
+

+
+ + + diff --git a/views/mods/mod_productvars/smartcheckout_row.phtml b/views/mods/mod_productvars/smartcheckout_row.phtml new file mode 100644 index 0000000..b5845b5 --- /dev/null +++ b/views/mods/mod_productvars/smartcheckout_row.phtml @@ -0,0 +1,57 @@ +view['wpsg_mod_productvars']['p']; + $product_index = $p['product_index']; + $arError = (array)$this->view['error']; + +?> +
+ + view['wpsg_mod_productvars']['data'] as $pv) { ?> + *':''); + + ?> +
+ + + + + + + + + + + + /> + + + +
+ + +
-- cgit v1.2.3