diff options
| author | thomas <noreply@maennchen1.de> | 2018-03-23 12:34:57 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2018-03-23 12:34:57 +0000 |
| commit | 9ed9c3cffbd3a771c78548cd342e8244c74e3144 (patch) | |
| tree | fb09aa25ef3f6bd122953ee7e75b95f9b7de6f49 | |
| parent | fed830170fe966a9dc8823786d18b6addeac2ad4 (diff) | |
- Erweiterung Exportprofil um Lagerbestand
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6950 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/css/admin.css | 2 | ||||
| -rw-r--r-- | views/produkttemplates/standard.phtml | 35 |
2 files changed, 25 insertions, 12 deletions
diff --git a/views/css/admin.css b/views/css/admin.css index f80cd80..d74d20f 100644 --- a/views/css/admin.css +++ b/views/css/admin.css @@ -104,6 +104,8 @@ table.wpsgitrecht_table { width:100%; } .wpsgitrecht_table td br { display:none; }
.wpsgitrecht_table td select { float:left; }
+/* Datepicker */
+#ui-datepicker-div { z-index:3 !important; }
/* Kundenkontakt */
.wpsg_kundenkontakt_template,
diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index 1405337..e94fa9d 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -172,36 +172,36 @@ <?php /* Produkt nur im Store, nicht im Onlineshop vorhanden */ ?>
<?php if ($this->callMod('wpsg_mod_deliverytime', 'isStoreProduct', array($this->view['data']['product_key']))) { ?>
-
+
<div class="wpsg_product_only_store"><?php echo __($this->callMod('wpsg_mod_deliverytime', 'displayStoreText', array($this->view['data']['product_key']))); ?></div>
-
+
<?php $stl = 0; $stl = $this->callMod('wpsg_mod_deliverytime', 'displayStoreLink', array($this->view['data']['product_key'])) ?>
<?php if (wpsg_isSizedInt($stl)) { ?>
-
+
<a href="<?php echo get_permalink($stl); ?>"><?php echo __('So erreichen Sie uns.'); ?></a>
-
+
<?php } ?>
-
+
<?php } else { ?>
-
+
<?php $strDelayNote = $this->callMod('wpsg_mod_deliverytime', 'displayDelayTime', array($this->view['data']['product_key'])); ?>
<?php if (wpsg_isSizedString($strDelayNote)) { ?>
-
+
<div class="wpsg_mod_deliverytime_offline">
<div class="wpsg_mod_deliverytime_delay"><?php echo wpsg_hspc($strDelayNote); ?></div>
</div>
-
+
<?php } else { ?>
-
+
<div class="wpsg_mod_deliverytime">
<span class="label label_deliverytime"><?php echo wpsg_translate(__('Lieferzeit:', 'wpsg')); ?></span>
<?php echo $this->callMod('wpsg_mod_deliverytime', 'displayDeliveryTime', array($this->view['data']['product_key'])); ?>
</div>
-
+
<?php } ?>
-
+
<?php } ?>
<?php } ?>
@@ -239,8 +239,19 @@ <label class="wpsg_amount_label" for="wpsg_menge_<?php echo $this->getTemplateIndex(); ?>"><?php echo __('Anzahl', 'wpsg'); ?></label>
<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" ':''); ?> />
- <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 /* Urlaubsmodus aktiv */ ?>
+ <?php if ($this->hasMod('wpsg_mod_deliverytime') && ($this->get_option('wpsg_mod_deliverytime_holiday') == '1')) { ?>
+
+ <div class="wpsg_product_deliverytime_holiday"><?php echo __($this->callMod('wpsg_mod_deliverytime', 'holidayText', array($this->view['data']['product_key']))); ?></div>
+
+ <?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 } ?>
+
<?php if (in_array($this->get_option('wpsg_afterinsert'), array('2', '3'))) { ?>
<script type="text/javascript">
|
