summaryrefslogtreecommitdiff
path: root/views/mods/mod_printshop
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2026-09-26 16:12:28 +0200
committerRoger Rehnelt <noreply@maennchen1.de>2026-09-26 16:12:28 +0200
commit371cad66b817a54fdc5670bbaa80195fbaec8df5 (patch)
treee96b7a97f8dfba81e988ecc0241837cdbd6f696e /views/mods/mod_printshop
parent6f9c98815fe2d64909b66002842e255d110a288e (diff)
Deckkraft, Lieferung auf Rechnung, Rechnungskopie, Lieferzeit-Urlaub, Steuerspalte, Geburtsdatum
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/mods/mod_printshop')
-rw-r--r--views/mods/mod_printshop/producttemplate.phtml24
1 files changed, 6 insertions, 18 deletions
diff --git a/views/mods/mod_printshop/producttemplate.phtml b/views/mods/mod_printshop/producttemplate.phtml
index ed8ad94..dd344ab 100644
--- a/views/mods/mod_printshop/producttemplate.phtml
+++ b/views/mods/mod_printshop/producttemplate.phtml
@@ -313,6 +313,11 @@
<div class="wpsg_product_buttonarea">
<div class="wpsg_product_buttons_add_basket">
+ <?php /* Urlaubsgruß im Urlaubszeitraum */ ?>
+ <?php if ($this->hasMod('wpsg_mod_deliverytime') && $this->callMod('wpsg_mod_deliverytime', 'holiday', array($this->view['data']['product_key']))) { ?>
+ <div class="wpsg_product_deliverytime_holiday" style="padding:10px; border:1px solid #ff0000;"><?php echo wpsg_hspc($this->callMod('wpsg_mod_deliverytime', 'displayHolidaytext', array($this->view['data']['product_key']))); ?></div>
+ <?php } ?>
+
<?php if ($this->view['oProduct']->canOrder()) { ?>
<div class="wpsg_produkt_add_basket_wrapper">
@@ -320,24 +325,7 @@
<input type="text" value="<?php echo ((wpsg_isSizedInt($this->view['data']['menge']))?$this->view['data']['menge']:'1'); ?>" name="wpsg[menge]" class="wpsg_menge" id="wpsg_menge_<?php echo $this->getTemplateIndex(); ?>" <?php echo (($this->view['data']['basket_multiple'] == 4)?' readonly="readonly" ':''); ?> />
- <?php /* Urlaubsmodus aktiv */ ?>
- <?php if ($this->hasMod('wpsg_mod_deliverytime') && ($this->get_option('wpsg_mod_deliverytime_holiday') == '1')) { ?>
-
- <?php if ($this->callMod('wpsg_mod_deliverytime', 'holiday', array($this->view['data']['product_key']))) { ?>
-
- <div class="wpsg_product_deliverytime_holiday" style="height:50px; padding:10px; width:50%; float:right; border:1px solid #ff0000;">
-
- <?php echo __($this->callMod('wpsg_mod_deliverytime', 'displayHolidaytext', array($this->view['data']['product_key']))); ?>
-
- </div>
-
- <?php } ?>
-
- <?php } else {?>
-
- <input class="wpsg_button wpsg_add_basket wpsg_add_basket_<?php echo $this->getTemplateIndex(); ?>" type="submit" value="<?php echo __('In den Warenkorb', 'wpsg'); ?>" name="wpsg[submit]" />
-
- <?php } ?>
+ <input class="wpsg_button wpsg_add_basket wpsg_add_basket_<?php echo $this->getTemplateIndex(); ?>" type="submit" value="<?php echo __('In den Warenkorb', 'wpsg'); ?>" name="wpsg[submit]" />
<?php if (in_array($this->get_option('wpsg_afterinsert'), array('2', '3'))) { ?>
<script type="text/javascript">