diff options
| author | thomas <noreply@maennchen1.de> | 2016-11-02 15:01:43 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2016-11-02 15:01:43 +0000 |
| commit | ae89a04884f3870b78f6fa1ea93d14ea8d27aedf (patch) | |
| tree | 31f8e5ae058e55f0ff0bacfb5e34445d1931dff4 | |
| parent | e6d178d1d27d5c65cc356068a43b4935250baa83 (diff) | |
- Gruppierung im Produktbackend
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5891 0d5edaf7-2b12-4e95-93f4-047927463d4b
4 files changed, 58 insertions, 2 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 diff --git a/views/produkt/addedit_general.phtml b/views/produkt/addedit_general.phtml index 45a6270..498cc6f 100644 --- a/views/produkt/addedit_general.phtml +++ b/views/produkt/addedit_general.phtml @@ -55,7 +55,11 @@ <?php echo wpsg_drawForm_Select('rating', __('Bewertungspunkte', 'wpsg'), array('0', '1', '2', '3', '4', '5'), wpsg_getInt($this->view['data']['rating'])); ?>
- <?php $this->callMods('produkt_edit_allgemein', array(&$this->view['data'])); ?>
+ <?php //$this->callMods('produkt_edit_allgemein', array(&$this->view['data'])); ?>
+
+ <?php /* Anfrageprodukt */ ?>
+ <?php $this->callMod('wpsg_mod_request', 'produkt_edit_allgemein', array(&$this->view['data']));?>
+
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
<?php if (!isset($_REQUEST['wpsg_lang'])) { ?>
|
