开发者

Magento - Problem formatting price for indian rupee

开发者 https://www.devze.com 2023-01-14 13:25 出处:网络
i modified following code to show indian rupee public function formatPrecision($price, $precision, $options=array(), $includeContainer = true, $addBrackets = false)

i modified following code to show indian rupee

public function formatPrecision($price, $precision,
$options=array(), $includeContainer = true, $addBrackets = false)

   {

       if (!isset($options['precision'])) {

           $options开发者_C百科['precision'] = $precision;

       }

       if ($includeContainer) {

           return '<span class="price">' . ($addBrackets ? '[' :
'') . $this->formatTxt($price, $options) . ($addBrackets ? ']' : '') .
'</span>';

       }

       return $this->formatTxt($price, $options);

   }

everywhere on site its showing perfect but only in product specification table it shows <span class="price">200</span>.

This happens only on live server not on staging and local

Please help

0

精彩评论

暂无评论...
验证码 换一张
取 消