开发者

Magento - get the "not formatted" prices

how can I get the not formatted prices (without currency and without the separator of thousands) ?

Thanks for开发者_如何学编程 help.


If you have the product instance you can always do

$product->getPrice();

and then format it as you want


<?php echo number_format($_product->getFinalPrice(),2);?> 

That should work too!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜