title: price not showing on front end virtuemart
body: <p>I have upgrade joomla and virtuemart afer upfrading joomla and virtuemart 3.0.6 price is not showing on front end, i do not know what going wrong with my code and my virtuemart configurations .
  i have paste my code here for showing price.</p>
  
  <pre><code>if ($this-&gt;show_prices == '1') {
  
              if ($product-&gt;prices['salesPrice']&lt;=0 and VmConfig::get ('askprice', 1) and  !$product-&gt;images[0]-&gt;file_is_downloadable) {
  
                  echo JText::_ ('COM_VIRTUEMART_PRODUCT_ASKPRICE');
              }
              //todo add config settings
              //echo $this-&gt;showBasePrice;
              if ($this-&gt;showBasePrice) {
  
                  echo $this-&gt;currency-&gt;createPriceDiv ('basePrice', 'COM_VIRTUEMART_PRODUCT_BASEPRICE', $product-&gt;prices);
                  echo $this-&gt;currency-&gt;createPriceDiv ('basePriceVariant', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT', $product-&gt;prices);
  
              }
              echo $this-&gt;currency-&gt;createPriceDiv ('variantModification', 'COM_VIRTUEMART_PRODUCT_VARIANT_MOD', $product-&gt;prices);
              if (round($product-&gt;prices['basePriceWithTax'],$this-&gt;currency-&gt;_priceConfig['salesPrice'][1]) != $product-&gt;prices['salesPrice']) {
  
                  echo '&lt;div class="price-crossed" &gt;' . $this-&gt;currency-&gt;createPriceDiv ('basePriceWithTax', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX', $product-&gt;prices) . "&lt;/div&gt;";
              }
              if (round($product-&gt;prices['salesPriceWithDiscount'],$this-&gt;currency-&gt;_priceConfig['salesPrice'][1]) != $product-&gt;prices['salesPrice']) {
  
                  echo $this-&gt;currency-&gt;createPriceDiv ('salesPriceWithDiscount', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITH_DISCOUNT', $product-&gt;prices);
              }
              echo $this-&gt;currency-&gt;createPriceDiv ('salesPrice', 'COM_VIRTUEMART_PRODUCT_SALESPRICE', $product-&gt;prices);
              if ($product-&gt;prices['discountedPriceWithoutTax'] != $product-&gt;prices['priceWithoutTax']) {
                  echo $this-&gt;currency-&gt;createPriceDiv ('discountedPriceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $product-&gt;prices);
              } else {
  
                  echo $this-&gt;currency-&gt;createPriceDiv ('priceWithoutTax', 'Price :  ', $product-&gt;prices);
              }
              echo $this-&gt;currency-&gt;createPriceDiv ('discountAmount', 'COM_VIRTUEMART_PRODUCT_DISCOUNT_AMOUNT', $product-&gt;prices);
              echo $this-&gt;currency-&gt;createPriceDiv ('taxAmount', 'COM_VIRTUEMART_PRODUCT_TAX_AMOUNT', $product-&gt;prices);
              $unitPriceDescription = JText::sprintf ('COM_VIRTUEMART_PRODUCT_UNITPRICE', $product-&gt;product_unit);
              echo $this-&gt;currency-&gt;createPriceDiv ('unitPrice', $unitPriceDescription, $product-&gt;prices);
          } ?&gt;
  </code></pre>
  
  <p>Please anyone check this give me solution for this i am totally fadeup from this issue</p>