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/basket.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/basket.phtml')
| -rw-r--r-- | views/warenkorb/basket.phtml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml index 5f43120..93dc7cc 100644 --- a/views/warenkorb/basket.phtml +++ b/views/warenkorb/basket.phtml @@ -72,9 +72,15 @@ ?>
<div class="wpsg_basket_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'])); ?>" />
+ */
+
+ $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'medium'));
+ echo "<img src=".$url." alt='' />";
+
<?php } ?>
</div>
<?php } ?>
|
