diff options
| author | hartmut <noreply@maennchen1.de> | 2017-05-12 14:44:21 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2017-05-12 14:44:21 +0000 |
| commit | 4699f08728ca20c41b239aeb550cbeacc2b359af (patch) | |
| tree | e3b26c559d98d6c400dc207316de3a67eded752a /views/warenkorb/overview.phtml | |
| parent | 5ea9179a85b918c7a284918ccdf69e05c51ed2b4 (diff) | |
Korrektur Variationen und Produktbilder
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6265 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/warenkorb/overview.phtml')
| -rw-r--r-- | views/warenkorb/overview.phtml | 10 |
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 } ?>
|
