summaryrefslogtreecommitdiff
path: root/views/warenkorb/basket.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/warenkorb/basket.phtml')
-rw-r--r--views/warenkorb/basket.phtml5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml
index d61fb57..3fecba6 100644
--- a/views/warenkorb/basket.phtml
+++ b/views/warenkorb/basket.phtml
@@ -127,7 +127,10 @@
<?php
if (isset($p['product_key'])) {
- $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'medium'));
+ //$url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'medium'));
+ $arr = $this->callMod('wpsg_mod_productvariants', 'getKombiVariImages', array($p['product_key']));
+ $ais = wp_get_attachment_image_src($arr[0]['post_id'], 'thumbnail');
+ $url = $ais[0];
} else {
$url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['productkey'], 'medium'));
}