diff options
Diffstat (limited to 'views/warenkorb/overview.phtml')
| -rw-r--r-- | views/warenkorb/overview.phtml | 7 |
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 } ?>
|
