diff options
| author | hartmut <noreply@maennchen1.de> | 2017-05-17 11:11:46 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2017-05-17 11:11:46 +0000 |
| commit | ce00007e22a06e6768036c4e9fe4aed84dfba3d4 (patch) | |
| tree | cdbdda622cd7478c347c7bf35603a7cd26573941 /views/warenkorb | |
| parent | 5c0571997769470c77acf47970d09a9f6081013d (diff) | |
Bestellbedingungen und Korrektur Varianten
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6268 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/warenkorb')
| -rw-r--r-- | views/warenkorb/basket.phtml | 7 | ||||
| -rw-r--r-- | views/warenkorb/overview.phtml | 6 |
2 files changed, 3 insertions, 10 deletions
diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml index 93dc7cc..f85cd1f 100644 --- a/views/warenkorb/basket.phtml +++ b/views/warenkorb/basket.phtml @@ -72,14 +72,11 @@ ?>
<div class="wpsg_basket_productimage">
<?php if (wpsg_isSizedString($arBilder[0]['guid'])) { ?>
- /*
- <?php $href = wp_get_attachment_image_src($arBilder[0]['post_id'], Array(30, 30)); ?>
- <?php $imgtag = wp_get_attachment_image($arBilder[0]['post_id'], Array(30, 30)); ?>
- <img src="<?php echo $href[0]; ?>" width="30" height="30" alt="<?php echo wpsg_hspc((($p['detailname'] != '')?$p['detailname']:$p['name'])); ?>" />
- */
+ <?php
$url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'medium'));
echo "<img src=".$url." alt='' />";
+ ?>
<?php } ?>
</div>
diff --git a/views/warenkorb/overview.phtml b/views/warenkorb/overview.phtml index 48e6602..1433e94 100644 --- a/views/warenkorb/overview.phtml +++ b/views/warenkorb/overview.phtml @@ -36,7 +36,7 @@ <?php } ?>
<?php $this->callMods('overview_top', array(&$this->view['basket'])); ?>
-
+
<div class="shippayment">
<div class="subtitle"><?php echo __('Zahlung/Versand', 'wpsg'); ?>
<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT2)); ?></span>
@@ -147,10 +147,6 @@ <div class="wpsg_overview_productimage">
<?php if (wpsg_isSizedString($arBilder[0]['guid'])) { ?>
- /*
- <?php $href = wp_get_attachment_image_src($arBilder[0]['post_id'], Array(30, 30)); ?>
- <?php $imgtag = wp_get_attachment_image($arBilder[0]['post_id'], Array(30, 30)); ?>
- */
<?php $img_url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'thumbnail')); ?>
<?php if ($img_url !== false) { ?>
|
