From cf5a71b778233df461bfec53669e307a62dcdddd Mon Sep 17 00:00:00 2001 From: hartmut Date: Wed, 31 May 2017 08:51:31 +0000 Subject: post_id speichern git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6297 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/warenkorb/basket.phtml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'views/warenkorb/basket.phtml') diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml index 4c68672..1454e54 100644 --- a/views/warenkorb/basket.phtml +++ b/views/warenkorb/basket.phtml @@ -76,7 +76,11 @@ callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'medium')); + if (isset($p['product_key'])) { + $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'medium')); + } else { + $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['productkey'], 'medium')); + } echo ""; ?> -- cgit v1.2.3