From fc78e798611b1ae2981dfba33bc8d4b043fab639 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 18 Sep 2026 13:07:57 +0200 Subject: - Gewährleistungslabel - Optik - GARAN Label in Bestellabschluß MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/admin/widerrufsbelehrung.phtml | 26 ++++++++++++++++++++ views/css/frontend.css | 7 ++++++ views/gfx/garan/legal_guarantee_notice_den.jpg | Bin 0 -> 324892 bytes views/mods/mod_ordercondition/list.phtml | 6 +++++ views/warenkorb/overview.phtml | 32 +++++++++++++++++++++++++ 5 files changed, 71 insertions(+) create mode 100644 views/gfx/garan/legal_guarantee_notice_den.jpg diff --git a/views/admin/widerrufsbelehrung.phtml b/views/admin/widerrufsbelehrung.phtml index 3534a5a..2eeff7c 100644 --- a/views/admin/widerrufsbelehrung.phtml +++ b/views/admin/widerrufsbelehrung.phtml @@ -67,6 +67,32 @@ hasMod('wpsg_mod_auftragsbestaetigung')) { ?> get_option('wpsg_widerrufsformular_orderconfirm')); ?> + +
+ + get_option('wpsg_warranty_label'), ['id' => 'wpsg_warranty_label']); ?> + + + diff --git a/views/css/frontend.css b/views/css/frontend.css index 49ae1d0..2abe5bd 100644 --- a/views/css/frontend.css +++ b/views/css/frontend.css @@ -129,8 +129,15 @@ input.wpsg_error { border-color:red !important; border:1px solid red; } .wpsg_basket input.amount { padding:0.75em 0.25em; } .wpsg_checkout2 .wpsg_overviewbutton, .wpsg_checkout2 .wpsg_checkoutbutton, +.wpsg_overview .garan_label_wrap { text-align:center; padding:1rem 0; } .wpsg_overview .wpsg_orderbutton, .wpsg_overview .wpsg_checkoutbutton, +.wpsg_overview .garan_label_popup_confirm { text-align:center; padding:0.75em 1.5em; cursor:pointer; } +.wpsg_overview .garan_label_popup { position:fixed; top:0; left:0; right:0; bottom:0; z-index:100000; display:flex; align-items:center; justify-content:center; padding:1rem; background-color:rgba(0, 0, 0, 0.6); } +.wpsg_overview .garan_label_popup .garan_label_popup_inner { display:flex; flex-direction:column; max-width:600px; max-height:100%; text-align:center; padding:1rem; background-color:#FFFFFF; } +.wpsg_overview .garan_label_popup .garan_label_popup_image { min-height:0; overflow-y:auto; } +.wpsg_overview .garan_label_popup .garan_label_popup_image img { max-width:100%; height:auto; } +.wpsg_overview .garan_label_popup .garan_label_popup_confirm { flex:0 0 auto; margin-top:1rem; } .wpsg_basket .wpsg_refreshbutton, .wpsg_checkout2button, .wpsg_basketbutton { float:left; padding:0.75em 1em; } .wpsg_basket .wpsg_basket_weiter_shoppen {background:#1a1a1a none repeat scroll 0 0; border:0 none; border-radius:2px; color:#fff; font-weight:700; line-height:1; text-transform:uppercase; padding:0.85em 0.875em 0.78em;} .wpsg_basket .product_action_printshop .label { align-self:flex-start; } diff --git a/views/gfx/garan/legal_guarantee_notice_den.jpg b/views/gfx/garan/legal_guarantee_notice_den.jpg new file mode 100644 index 0000000..f06e62d Binary files /dev/null and b/views/gfx/garan/legal_guarantee_notice_den.jpg differ diff --git a/views/mods/mod_ordercondition/list.phtml b/views/mods/mod_ordercondition/list.phtml index 00f5535..d68b1f5 100644 --- a/views/mods/mod_ordercondition/list.phtml +++ b/views/mods/mod_ordercondition/list.phtml @@ -153,6 +153,12 @@ /* ]]> */ + true, + 'inlineEdit' => true, + 'inlineEdit_url' => WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_ordercondition&do=inlinedit&noheader=1&field=garan_exclude&oc_id='.$oc['id'] + )); ?> +
+ + +
+ <?php echo __('GARAN Gewährleistungslabel', 'wpsg'); ?> +
+ +
+
+
+ <?php echo esc_attr(__('GARAN Gewährleistungslabel', 'wpsg')); ?> +
+ +
+
+ + + + + callMods('handle_order')) { ?> -- cgit v1.2.3