summaryrefslogtreecommitdiff
path: root/views/warenkorb/overview.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/warenkorb/overview.phtml')
-rw-r--r--views/warenkorb/overview.phtml10
1 files changed, 9 insertions, 1 deletions
diff --git a/views/warenkorb/overview.phtml b/views/warenkorb/overview.phtml
index 386e6fa..48e6602 100644
--- a/views/warenkorb/overview.phtml
+++ b/views/warenkorb/overview.phtml
@@ -145,10 +145,18 @@
?>
<div class="wpsg_overview_productimage">
+
<?php if (wpsg_isSizedString($arBilder[0]['guid'])) { ?>
+ /*
<?php $href = wp_get_attachment_image_src($arBilder[0]['post_id'], Array(30, 30)); ?>
<?php $imgtag = wp_get_attachment_image($arBilder[0]['post_id'], Array(30, 30)); ?>
- <img src="<?php echo $href[0]; ?>" width="30" height="30" alt="<?php echo wpsg_hspc((($p['detailname'] != '')?$p['detailname']:$p['name'])); ?>" />
+ */
+
+ <?php $img_url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'thumbnail')); ?>
+ <?php if ($img_url !== false) { ?>
+ <img class="theme_border_color_2 theme_color_2" src="<?php echo $img_url; ?>" alt="<?php echo wpsg_translate(__('Produktbilder von Produkte #1#', 'wspg'), $p['name']); ?>" />
+ <?php } ?>
+
<?php } ?>
</div>
<?php } ?>