diff options
| author | hartmut <noreply@maennchen1.de> | 2017-06-08 07:09:26 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2017-06-08 07:09:26 +0000 |
| commit | ea14638e6c5c6b837bd51b06c15c60a4f727f774 (patch) | |
| tree | 128cbc9d109ccddc33d703861be11397dd131d8f /views/warenkorb | |
| parent | 5cb7171394e8ae02416ecffff32a5e33f63d9b4c (diff) | |
KombiVariImage und Warnungen
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6319 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/warenkorb')
| -rw-r--r-- | views/warenkorb/basket.phtml | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ <?php
if (isset($p['product_key'])) {
- $url = $this->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'));
}
|
