summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods')
-rw-r--r--views/mods/mod_productindex/page_metabox.phtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/mods/mod_productindex/page_metabox.phtml b/views/mods/mod_productindex/page_metabox.phtml
index 9c05585..45ae757 100644
--- a/views/mods/mod_productindex/page_metabox.phtml
+++ b/views/mods/mod_productindex/page_metabox.phtml
@@ -41,6 +41,7 @@
</div>
<?php /* Produktgruppenauswahl*/ ?>
+ <?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
<div class="wpsg_mod_productindex_layershow wpsg_mod_productindex_layer_2" style="display:none;">
<?php if (sizeof($this->view['wpsg_mod_productindex']['arProductGroups']) <= 0) { ?>
<?php echo wpsg_drawForm_Input('', __('Produktgruppen', 'wpsg'), __('Keine Produktgruppen angelegt.', 'wpsg'), array('text' => true)); ?>
@@ -49,8 +50,10 @@
<?php } ?>
<br />
</div>
+ <?php } ?>
<?php /* Produktkategorieauswahl */ ?>
+ <?php if ($this->hasMod('wpsg_mod_produktartikel')) { ?>
<div class="wpsg_mod_productindex_layershow wpsg_mod_productindex_layer_3" style="display:none;">
<?php if (sizeof($this->view['wpsg_mod_productindex']['arCategories']) <= 0) { ?>
<?php echo wpsg_drawForm_Input('', __('Kategorien', 'wpsg'), __('Keine Kategorien angelegt.', 'wpsg'), array('text' => true)); ?>
@@ -59,6 +62,7 @@
<?php } ?>
<br />
</div>
+ <?php } ?>
</div>