diff options
| author | hartmut <noreply@maennchen1.de> | 2017-05-31 08:51:31 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2017-05-31 08:51:31 +0000 |
| commit | cf5a71b778233df461bfec53669e307a62dcdddd (patch) | |
| tree | 6c96cb24e9c5f6e6e6b3922ea19ffdc34d0fbe99 /views/warenkorb/basket.phtml | |
| parent | 7a9fa53b6dbfcb4519d92ae3e35bcee11f2346f1 (diff) | |
post_id speichern
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6297 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/warenkorb/basket.phtml')
| -rw-r--r-- | views/warenkorb/basket.phtml | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ <?php if (wpsg_isSizedString($arBilder[0]['guid'])) { ?>
<?php
- $url = $this->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 "<img src=".$url." alt='' />";
?>
|
