From c84ffa2328951eb26234c1b554a232dd303f0c81 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 24 Sep 2026 12:02:43 +0200 Subject: - Feature: SmartCheckout - GARAN Label am Produkt --- views/css/smartcheckout.css | 2 + views/mods/mod_onepagecheckout/onepage.phtml | 605 +++++++++++++++++++++++++++ views/mods/mod_smartcheckout/checkout.phtml | 1 + views/produkttemplates/standard.phtml | 59 +-- 4 files changed, 609 insertions(+), 58 deletions(-) create mode 100644 views/mods/mod_onepagecheckout/onepage.phtml (limited to 'views') diff --git a/views/css/smartcheckout.css b/views/css/smartcheckout.css index 6d9ac8b..5415dbd 100644 --- a/views/css/smartcheckout.css +++ b/views/css/smartcheckout.css @@ -275,6 +275,8 @@ html body.content-style-boxed .entry-content .wpsg_smartcheckout_after.alignwide .wpsg_smartcheckout .sc_garan { text-align:center; margin:1rem 0; } .wpsg_smartcheckout .sc_garan img { display:block; max-width:100%; height:auto; } +.wpsg_smartcheckout .sc_product_garan { margin-top:0.5rem; } +.wpsg_smartcheckout .wpsg_product_garan_wrap { margin-bottom:0.5rem; } .wpsg_smartcheckout .sc_garan_zoom { display:inline-block; padding:0; border:0; background:none; cursor:zoom-in; } .wpsg_smartcheckout .sc_garan_zoom:focus-visible { outline:2px solid currentColor; outline-offset:2px; } .wpsg_smartcheckout .sc_garan_lightbox { cursor:zoom-out; } diff --git a/views/mods/mod_onepagecheckout/onepage.phtml b/views/mods/mod_onepagecheckout/onepage.phtml new file mode 100644 index 0000000..4929524 --- /dev/null +++ b/views/mods/mod_onepagecheckout/onepage.phtml @@ -0,0 +1,605 @@ + + + + +
+ + writeFrontendMessage(); ?> + + get_option('wpsg_mod_onepagecheckout_basket') == 0) { ?> + render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?> + +
+ + get_option('wpsg_mod_onepagecheckout_basket') == 1) { ?> + view['noFormTag'] = true; $this->render(WPSG_PATH_VIEW.'/warenkorb/basket.phtml'); ?> + + +
+ +
+ +
+ + get_option('wpsg_mod_onepagecheckout_basket') == 0) { ?> +
+ +

+ +
+ view['arShipping'] as $s) { ?> +
+ + view['basket']['checkout']['shipping'] == $s['id'] || sizeof($this->view['arShipping']) == 1)?'checked="checked"':''); ?> type="radio" value="" name="wpsg[checkout][shipping]" id="shipping_" /> + + + + +
+ + 0) { ?> +
+ 0) { ?> + : get_option('wpsg_currency')); ?>
+ + replaceUniversalPlatzhalter(__($s['hint'], 'wpsg')); ?> +
+ + +
+ +
+ +
+ +
+ + + callMods('checkout_handlePayment') === true) { ?> + + hasMod('wpsg_mod_crefopay')) { ?> + get_option('wpsg_mod_onepagecheckout_basket') == 0) { ?> +
+ +

+ +
+ view['arPayment'] as $p) { ?> +
+ + view['basket']['checkout']['payment'] == $p['id'] || sizeof($this->view['arPayment']) == 1)?'checked="checked"':''); ?> type="radio" value="" name="wpsg[checkout][payment]" id="payment_" /> + +
+ + + + + + 0) { ?> +
+ 0) { ?> + : get_option('wpsg_currency')); ?>
+ + replaceUniversalPlatzhalter(__($p['hint'], 'wpsg')); ?> +
+ + +
+ +
+ +
+ +
+ + + + + +
+ +
+ +
+ +

+ + hasMod('wpsg_mod_kundenverwaltung') && $this->get_option('wpsg_mod_kundenverwaltung_showCheckoutLogin') == '1') { ?> + + + + hasMod('wpsg_mod_kundenverwaltung') && $this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegister') == '1') || ($this->hasMod('wpsg_mod_kundenverwaltung') && $this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwang') == '1')) { ?> +
+ get_option('onepagecheckout_customer_registration')); ?> + +
+ + +
+
get_option('onepagecheckout_customer_guest')); ?>
+ + +
+ +
+ + + callMod('wpsg_mod_nlsatolo', 'checkout_customer_inner'); ?> + + + callMod('wpsg_mod_trustedshops', 'checkout_customer_inner'); ?> + +
+ +
+ + ClearSessionErrors(); ?> + +
+ + get_option('wpsg_mod_onepagecheckout_basket') == 0) { ?> + + + + +
+ +
+ +
+ + + +
\ No newline at end of file diff --git a/views/mods/mod_smartcheckout/checkout.phtml b/views/mods/mod_smartcheckout/checkout.phtml index e6fa74f..068d49b 100644 --- a/views/mods/mod_smartcheckout/checkout.phtml +++ b/views/mods/mod_smartcheckout/checkout.phtml @@ -71,6 +71,7 @@
+
diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index d04f35c..c465443 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -315,64 +315,7 @@ isGARAN()) { ?> - + -- cgit v1.2.3