News:

Looking for documentation? Take a look on our wiki

Main Menu

How convert price to currency format in Virtuemart 3.0.2

Started by fastestpc, December 24, 2014, 03:39:02 AM

Previous topic - Next topic

fastestpc

I call separately price in Catogorie and Module to show sale price:  $product->prices['salesPrice'] and convert to currency format is: $currency->createPriceDiv ('salesPrice', '', $product->prices). It works well. And i detail page. I call sale price: $this->product->prices['salesPrice']; i don't know how convert it to currency format in detail product. Any one help me Please?

fastestpc

Thank Jesus. I find it.
Convert to Currency Format in detailpage: $this->currency->createPriceDiv ('salesPrice', '', $this->product->prices);

Merry Kristmass to all.