summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2016-11-02 15:01:43 +0000
committerthomas <noreply@maennchen1.de>2016-11-02 15:01:43 +0000
commitae89a04884f3870b78f6fa1ea93d14ea8d27aedf (patch)
tree31f8e5ae058e55f0ff0bacfb5e34445d1931dff4 /views/mods
parente6d178d1d27d5c65cc356068a43b4935250baa83 (diff)
- Gruppierung im Produktbackend
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5891 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods')
-rw-r--r--views/mods/mod_deliverytime/produkt_addedit_allgemein.phtml25
-rw-r--r--views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml2
-rw-r--r--views/mods/mod_minquantity/produkt_addedit_allgemein.phtml27
3 files changed, 53 insertions, 1 deletions
diff --git a/views/mods/mod_deliverytime/produkt_addedit_allgemein.phtml b/views/mods/mod_deliverytime/produkt_addedit_allgemein.phtml
new file mode 100644
index 0000000..341dbd1
--- /dev/null
+++ b/views/mods/mod_deliverytime/produkt_addedit_allgemein.phtml
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Integration des Moduls "Lieferzeit" in die Produktverwaltung
+ */
+
+?>
+
+<div id="wpsg_minquantity" class="panel panel-default">
+ <div class="panel-heading clearfix">
+ <h3 class="panel-title">
+ <span><?php echo __('Lieferzeit', 'wpsg'); ?></span>
+ </h3>
+ </div>
+ <div class="panel-body">
+ <?php if ($this->get_option('wpsg_mod_deliverytime_mode') == wpsg_mod_deliverytime::MODE_SELECT) { ?>
+ <?php echo wpsg_drawForm_Select('wpsg_mod_deliverytime[deliverytime]', __('Lieferzeit', 'wpsg'), $this->view['wpsg_mod_deliverytime']['arSelection'], $this->view['wpsg_mod_deliverytime']['deliverytime'], array('noIndex' => true)); ?>
+ <?php } else if ($this->get_option('wpsg_mod_deliverytime_mode') == wpsg_mod_deliverytime::MODE_DAYS) { ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_deliverytime[deliverytime]', __('Lieferzeit', 'wpsg'), $this->view['wpsg_mod_deliverytime']['deliverytime'], array('unit' => __('Tage', 'wpsg'))); ?>
+ <?php } ?>
+ <?php if (wpsg_isSizedInt($this->get_option('wpsg_mod_deliverytime_store'))) {?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_mod_deliverytime[storeproduct]', __('Als Offlineprodukt anzeigen', 'wpsg'), $this->view['data']['storeproduct']);?>
+ <?php } ?>
+ </div>
+</div> \ No newline at end of file
diff --git a/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml b/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml
index 25d9f2b..3db54c8 100644
--- a/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml
+++ b/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml
@@ -8,7 +8,7 @@
<div id="wpsg_fuellmenge" class="panel panel-default">
<div class="panel-heading clearfix">
<h3 class="panel-title">
- <?php echo __('Füllmenge', 'wpsg'); ?> </span>
+ <span><?php echo __('Füllmenge', 'wpsg'); ?> </span>
</h3>
</div>
<div class="panel-body">
diff --git a/views/mods/mod_minquantity/produkt_addedit_allgemein.phtml b/views/mods/mod_minquantity/produkt_addedit_allgemein.phtml
new file mode 100644
index 0000000..e17d150
--- /dev/null
+++ b/views/mods/mod_minquantity/produkt_addedit_allgemein.phtml
@@ -0,0 +1,27 @@
+<?php
+
+ /**
+ * Integration des Moduls "Mindestbestellmenge" in die Produktverwaltung
+ */
+
+?>
+
+<?php
+
+ /**
+ * Template für die Integration des Produktgewichts in die Produktverwaltung
+ */
+
+?>
+
+<div id="wpsg_minquantity" class="panel panel-default">
+ <div class="panel-heading clearfix">
+ <h3 class="panel-title">
+ <span><?php echo __('Mindestbestellmenge', 'wpsg'); ?></span>
+ </h3>
+ </div>
+ <div class="panel-body">
+ <?php echo wpsg_drawForm_Input('wpsg_mod_minquantity[value]', __('Mindestbestellmenge', 'wpsg'), $this->view['wpsg_mod_minquantity']['value']); ?>
+ <?php echo wpsg_drawForm_Input('wpsg_mod_minquantity[valuemax]', __('Maximalbestellmenge', 'wpsg'), $this->view['wpsg_mod_minquantity']['valuemax']); ?>
+ </div>
+</div> \ No newline at end of file