1. In some time we have to give space or dot between magento product price and rupee symbol.
2. Normally we will do this changes throw locale file. But some time it won’t work.
3. In that synario, we have to override below file
Mage_Core_Model_Store – formatPrice (function)
4. Here am overriding the function like below way
class Jute_Model_Store extends Mage_Core_Model_Store
{
public function formatPrice($price, $includeContainer = true)
{
$currency = $this->getCurrentCurrency();
if ($currency) {
return $currency->format($price, array(
‘precision’ => 0,
‘symbol’ => Mage::app()->getLocale()->currency($currency->getCode())->getSymbol().’. ‘
), $includeContainer);
}
return $price;
}
}