summaryrefslogtreecommitdiff
path: root/views/warenkorb/basket.phtml
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2017-03-10 09:06:20 +0000
committerhartmut <noreply@maennchen1.de>2017-03-10 09:06:20 +0000
commitaac6af5189d650d3a17b8a45d3eeae9ed6c1b168 (patch)
tree246b0164abba71eb5a69e47f4dff1df63b65a2fa /views/warenkorb/basket.phtml
parentea5a18c80886d82519151dc866789ea057d919c5 (diff)
Mediathek-Unterstützung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6113 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/warenkorb/basket.phtml')
-rw-r--r--views/warenkorb/basket.phtml8
1 files changed, 5 insertions, 3 deletions
diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml
index ea9a4cb..6e3b685 100644
--- a/views/warenkorb/basket.phtml
+++ b/views/warenkorb/basket.phtml
@@ -59,12 +59,14 @@
<?php if ($this->get_option('wpsg_mod_produktbilder_basketimage') == '1' && $this->hasMod('wpsg_mod_produktbilder')) {
if (wpsg_isSizedString($p['varianten_image'])) $arBilder = array($p['varianten_image']);
- else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->getProduktID($p['id'])));
+ else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($this->getProduktID($p['id'])));
?>
<div class="wpsg_basket_productimage">
- <?php if (wpsg_isSizedString($arBilder[0])) { ?>
- <img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->getProduktID($p['id']), $arBilder[0], 30, 30, 'c')); ?>" alt="<?php echo wpsg_hspc((($p['detailname'] != '')?$p['detailname']:$p['name'])); ?>" />
+ <?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 } ?>
</div>
<?php } ?>