summaryrefslogtreecommitdiff
path: root/views/warenkorb/overview.phtml
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2017-05-31 08:51:31 +0000
committerhartmut <noreply@maennchen1.de>2017-05-31 08:51:31 +0000
commitcf5a71b778233df461bfec53669e307a62dcdddd (patch)
tree6c96cb24e9c5f6e6e6b3922ea19ffdc34d0fbe99 /views/warenkorb/overview.phtml
parent7a9fa53b6dbfcb4519d92ae3e35bcee11f2346f1 (diff)
post_id speichern
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6297 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/warenkorb/overview.phtml')
-rw-r--r--views/warenkorb/overview.phtml7
1 files changed, 6 insertions, 1 deletions
diff --git a/views/warenkorb/overview.phtml b/views/warenkorb/overview.phtml
index 1433e94..4e11189 100644
--- a/views/warenkorb/overview.phtml
+++ b/views/warenkorb/overview.phtml
@@ -148,7 +148,12 @@
<?php if (wpsg_isSizedString($arBilder[0]['guid'])) { ?>
- <?php $img_url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'thumbnail')); ?>
+ <?php
+ if (isset($p['product_key'])) {
+ $img_url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'thumbnail'));
+ } else {
+ $img_url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['productkey'], 'thumbnail'));
+ } ?>
<?php if ($img_url !== false) { ?>
<img class="theme_border_color_2 theme_color_2" src="<?php echo $img_url; ?>" alt="<?php echo wpsg_translate(__('Produktbilder von Produkte #1#', 'wspg'), $p['name']); ?>" />
<?php } ?>