summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/produkttemplates/standard_redirect.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/produkttemplates/standard_redirect.phtml b/views/produkttemplates/standard_redirect.phtml
index 392e997..58bdad2 100644
--- a/views/produkttemplates/standard_redirect.phtml
+++ b/views/produkttemplates/standard_redirect.phtml
@@ -88,11 +88,11 @@
<?php echo __('Stückpreis:', 'wpsg'); ?>
<?php $oldPrice = $this->view['oProduct']->getOldPrice(); ?>
- <?php if ($oldPrice !== false && $oldPrice != $this->view['oProduct']->getPrice()) { ?>
- <span class="wpsg_mod_productview_price wpsg_mod_productview_current"><?php echo wpsg_ff($this->view['oProduct']->getPrice(), $this->get_option('wpsg_currency')); ?></span>
+ <?php if ($oldPrice !== false && $oldPrice != $this->view['oProduct']->getPrice($this->view['data']['product_key'])) { ?>
+ <span class="wpsg_mod_productview_price wpsg_mod_productview_current"><?php echo wpsg_ff($this->view['oProduct']->getPrice($this->view['data']['product_key']), $this->get_option('wpsg_currency')); ?></span>
<span class="wpsg_mod_productview_oldprice"><?php echo wpsg_ff($oldPrice, $this->get_option('wpsg_currency')); ?></span>
<?php } else { ?>
- <span class="wpsg_mod_productview_price"><?php echo wpsg_ff($this->view['oProduct']->getPrice(), $this->get_option('wpsg_currency')); ?></span>
+ <span class="wpsg_mod_productview_price"><?php echo wpsg_ff($this->view['oProduct']->getPrice($this->view['data']['product_key']), $this->get_option('wpsg_currency')); ?></span>
<?php } ?>
</div>