<?php
$_helper = $this->helper('catalog/output');
$_product = $this->getProduct();
/* PRICE */
$symbolMoney = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
$fromPrice = number_format($_product->getPrice(), 2, ',', '.');
$toPrice = number_format($_product->getFinalPrice(), 2, ',', '.');
?>
<div class="offers" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<meta itemprop="priceCurrency" content="<?php echo $currency_code = Mage::app()->getStore()->getCurrentCurrencyCode(); ?>"/>
<?php if($fromPrice == $toPrice): ?>
<p class="price-box">
<span class="price-label">Por </span>
<strong itemprop="price" class="new-price price-value">
<?php echo "<span>". $symbolMoney . "</span>" . $fromPrice; ?>
</strong>
</p>
<?php else: ?>
<p class="price-box special-price">
<link itemprop="itemCondition" href="http://schema.org/NewCondition">
<meta itemprop="priceCurrency" content="BRL" />
<span class="price">
<span class="price-label old-price">De </span>
<del class="old-price price-value">
<?php echo "<span>". $symbolMoney . "</span>" . $fromPrice; ?>
</del>
</span>
<span class="price">
<span class="price-label new-price">Por </span>
<strong itemprop="price" class="new-price price-value">
<?php echo "<span>". $symbolMoney . "</span>" . $toPrice; ?>
</strong>
</span>
</p>
<?php endif; ?>
</div>