summaryrefslogtreecommitdiff
path: root/views/warenkorb/overview.phtml
diff options
context:
space:
mode:
authordaniel <noreply@maennchen1.de>2026-09-18 13:07:57 +0200
committerdaniel <noreply@maennchen1.de>2026-09-18 13:07:57 +0200
commitfc78e798611b1ae2981dfba33bc8d4b043fab639 (patch)
tree97dc9f05a63177665b3614e716ad459b676ed44a /views/warenkorb/overview.phtml
parentaeb11af3a48bbf99256707eea6ef781748002d85 (diff)
- Gewährleistungslabel
- Optik - GARAN Label in Bestellabschluß
Diffstat (limited to 'views/warenkorb/overview.phtml')
-rw-r--r--views/warenkorb/overview.phtml32
1 files changed, 32 insertions, 0 deletions
diff --git a/views/warenkorb/overview.phtml b/views/warenkorb/overview.phtml
index edc0e3d..350c014 100644
--- a/views/warenkorb/overview.phtml
+++ b/views/warenkorb/overview.phtml
@@ -508,6 +508,38 @@
<div class="wpsg_spacer"></div>
<div class="wpsg_clear"></div>
+ <?php if (\wpsg\WarrantyLabel::isNeed()) { ?>
+ <?php if (\wpsg\WarrantyLabel::getLayout() === wpsg_ShopController::WARRANTYLABEL_INLINE) { ?>
+ <div class="garan_label_wrap">
+ <img src="<?php echo wpsg_ShopController::getShop()->getRessourceURL('gfx/garan/legal_guarantee_notice_den.jpg'); ?>" alt="<?php echo __('GARAN Gewährleistungslabel', 'wpsg'); ?>" />
+ </div>
+ <?php } else { ?>
+ <div class="garan_label_popup" id="wpsg_garan_label_popup">
+ <div class="garan_label_popup_inner">
+ <div class="garan_label_popup_image">
+ <img src="<?php echo esc_url(wpsg_ShopController::getShop()->getRessourceURL('gfx/garan/legal_guarantee_notice_den.jpg')); ?>" alt="<?php echo esc_attr(__('GARAN Gewährleistungslabel', 'wpsg')); ?>" />
+ </div>
+ <button type="button" class="garan_label_popup_confirm" id="wpsg_garan_label_popup_confirm"><?php echo __('Zur Kenntnis genommen', 'wpsg'); ?></button>
+ </div>
+ </div>
+ <noscript>
+ <style>.wpsg_overview .garan_label_popup { position:static; background-color:transparent; }</style>
+ </noscript>
+ <script>
+
+ const el_wpsg_garan_label_popup = document.getElementById('wpsg_garan_label_popup');
+ const el_wpsg_garan_label_popup_confirm = document.getElementById('wpsg_garan_label_popup_confirm');
+
+ el_wpsg_garan_label_popup_confirm.addEventListener('click', () => {
+
+ el_wpsg_garan_label_popup.style.display = 'none';
+
+ });
+
+ </script>
+ <?php } ?>
+ <?php } ?>
+
<input type="submit" class="wpsg_checkoutbutton" value="<?php echo __('zurück', 'wpsg'); ?>" name="wpsg_redirect_checkout" />
<?php if ($this->callMods('handle_order')) { ?>