VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: fastestpc on December 24, 2014, 03:39:02 AM

Title: How convert price to currency format in Virtuemart 3.0.2
Post by: fastestpc on December 24, 2014, 03:39:02 AM
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?
Title: Re: How convert price to currency format in Virtuemart 3.0.2
Post by: fastestpc on December 24, 2014, 04:57:13 AM
Thank Jesus. I find it.
Convert to Currency Format in detailpage: $this->currency->createPriceDiv ('salesPrice', '', $this->product->prices);

Merry Kristmass to all.