Price original =< price
Posted: 30 Nov 2015, 00:04
This modification disables displaying price if price original =< price - it is not wise o show customer we increased price. Displying identical original price looks strange.
components/com_phocacart/layouts/product_price.php
components/com_phocacart/layouts/product_price.php
Code: Select all
<div class="<?php echo $d['class']; ?>">
<?php if ($d['priceitemsorig']['brutto'] > $d['priceitems']['brutto']) {
if (isset($d['priceitemsorig']['bruttoformat']) && $d['priceitemsorig']['bruttoformat']) { ?>
<div class="ph-price-txt"><?php echo JText::_('COM_PHOCACART_ORIGINAL_PRICE') ?></div>
<div class="ph-price-original"><?php echo $d['priceitemsorig']['bruttoformat'] ?></div>
<?php } } ?>^M