From ea14638e6c5c6b837bd51b06c15c60a4f727f774 Mon Sep 17 00:00:00 2001 From: hartmut Date: Thu, 8 Jun 2017 07:09:26 +0000 Subject: KombiVariImage und Warnungen git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6319 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/warenkorb/basket.phtml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'views/warenkorb') 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 @@ 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')); } -- cgit v1.2.3