summaryrefslogtreecommitdiff
path: root/views/warenkorb/checkout2.phtml
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-10-02 15:38:37 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-10-02 15:38:37 +0200
commitbba8383863e2bda87a3c54825b358d53b812b8e0 (patch)
tree90f80ed42b2a2c402ff8149557c43db8ef586184 /views/warenkorb/checkout2.phtml
parent4c322420f5630313157839416bc7ae7235cbbf00 (diff)
Kasse: Zurück als Link im Modus „neu“
Die Zurück-Knöpfe speichern nichts; als Link mit Ziel im Text (Punkt 8.12). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/warenkorb/checkout2.phtml')
-rw-r--r--views/warenkorb/checkout2.phtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/warenkorb/checkout2.phtml b/views/warenkorb/checkout2.phtml
index cb233d9..01b545c 100644
--- a/views/warenkorb/checkout2.phtml
+++ b/views/warenkorb/checkout2.phtml
@@ -102,7 +102,11 @@
<?php $this->callMods('checkout2_inner_prebutton', array(&$this->view)); ?>
<input type="submit" id="wpsg_checkout2button" class="wpsg_button wpsg_overviewbutton<?php echo wpsg_button_class(); ?>" value="<?php echo __('weiter', 'wpsg'); ?>" name="wpsg_checkout2" />
+ <?php if (\wpsg\ThemeStyle::isThemeMode()) { /* Modus „neu“: Zurück als Link, er speichert nichts (Punkt 8.12) */ ?>
+ <a class="wpsg-checkout__back" href="<?php echo esc_url($this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?>"><?php echo esc_html__('Zurück zu den Kundendaten', 'wpsg'); ?></a>
+ <?php } else { ?>
<input type="submit" class="wpsg_button wpsg_checkoutbutton<?php echo wpsg_button_class(); ?>" value="<?php echo __('zurück', 'wpsg'); ?>" name="wpsg_redirect_checkout" />
+ <?php } ?>
<div class="wpsg_clear"></div>