diff options
Diffstat (limited to 'views/mods/mod_printshop')
| -rw-r--r-- | views/mods/mod_printshop/producttemplate.phtml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/views/mods/mod_printshop/producttemplate.phtml b/views/mods/mod_printshop/producttemplate.phtml index 4092bb5..19e3cf0 100644 --- a/views/mods/mod_printshop/producttemplate.phtml +++ b/views/mods/mod_printshop/producttemplate.phtml @@ -83,14 +83,24 @@ <?php if ($this->get_option('wpsg_showArticelnumber') == '1') { ?>
<div class="wpsg_artikelnummer">
<?php echo __('Artikelnummer', 'wpsg'); ?>: <span class="wpsg_anr"><?php echo wpsg_hspc($this->view['data']['anr']); ?></span><br />
- <?php if (wpsg_isSizedInt($this->get_option('wpsg_mod_produktartikel_ean'))) {?>
- <?php echo __('EAN','wpsg');?>:<span class="wpsg_ean"><?php echo wpsg_hspc($this->view['data']['ean']); ?></span><br />
+ </div>
+ <?php } ?>
+
+ <?php $arProductCodes = $oProduct->getAllProductCodes(); ?>
+ <?php if (sizeof($arProductCodes) > 0) { ?>
+ <div class="product_code_wrap">
+ <?php foreach ($arProductCodes as $product_code) { ?>
+ <?php if ($product_code !== null) { ?>
+
+ <div class="product_code <?php echo $product_code['code_key']; ?>">
+ <span class="label"><?php echo $product_code['label']; ?></span>: <span class="code"><?php echo $product_code['code']; ?></span>
+ </div>
+
+ <?php } ?>
<?php } ?>
- <?php if (wpsg_isSizedInt($this->get_option('wpsg_mod_produktartikel_gtin'))) {?>
- <?php echo __('GTIN','wpsg');?>:<span class="wpsg_gtin"><?php echo wpsg_hspc($this->view['data']['gtin']); ?></span><br />
- <?php }?></div>
+ </div>
<?php } ?>
-
+
<?php /* Abfrage Preisanzeige nur für eingeloggte User aktiv und User eingeloggt START*/ ?>
<?php if ($this->view['oProduct']->canDisplayPrice()) { ?>
|
