News:

Looking for documentation? Take a look on our wiki

Main Menu

currencydisplay.php question

Started by lipes, April 25, 2012, 23:01:06 PM

Previous topic - Next topic

lipes

solved:
\administrator\components\com_virtuemart\helpers\currencydisplay.php
      //This could be easily extended by product specific settings
      if(!empty($this->_priceConfig[$name][0])){
         if(!empty($price)){
            $vis = "block";
            $priceFormatted = $this->priceDisplay($price,0,(float)$quantity,false,$this->_priceConfig[$name][1]);
            $temp = explode(",", $priceFormatted);
            $tmp = explode(" ", $temp[1]);
            $afterComa = '<span style="font-size:10px">'.$tmp[0]."</span><sup>".$tmp[1]."</sup>";
            $priceFormatted = $temp[0].",".$afterComa;
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25