summaryrefslogtreecommitdiff
path: root/views/warenkorb/ajaxDialog.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/warenkorb/ajaxDialog.phtml')
-rw-r--r--views/warenkorb/ajaxDialog.phtml6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/warenkorb/ajaxDialog.phtml b/views/warenkorb/ajaxDialog.phtml
index cad27f5..ae2ac19 100644
--- a/views/warenkorb/ajaxDialog.phtml
+++ b/views/warenkorb/ajaxDialog.phtml
@@ -31,9 +31,11 @@
<div class="wpsg_basket_ajax_message_content_left">
<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
- <?php $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->getProduktId($this->view['product_data']['id']))); ?>
+ <?php $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($this->getProduktId($this->view['product_data']['id']))); ?>
<?php if (wpsg_isSizedArray($arBilder)) { ?>
- <img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->getProduktId($this->view['product_data']['id']), $arBilder[0], 150, 150, 's')); ?>" alt="" />
+ <?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 } ?>
<?php } ?>
</div>