Hi Teitbite,
Please, note what I did: I include the code in category/default.php as you told.
Below I transcript what I use:
if ($this->show_prices == '1') {
if( $product->prices['discountedPriceWithoutTax'] ):
echo '<span style="text-decoration: line-through;">' . $this->currency->createPriceDiv('basePriceWithTax', '', $product->prices) . '</span>'
. number_format( (float)$product->prices['salesPrice'], 2, ',', '' ) . ' €';
else:
if ($product->prices['salesPrice']<=0 and VmConfig::get ('askprice', 1) and !$product->images[0]->file_is_downloadable) {
echo JText::_ ('COM_VIRTUEMART_PRODUCT_ASKPRICE');
}
echo $this->currency->createPriceDiv('basePriceWithTax', '', $product->prices);
echo $this->currency->createPriceDiv('taxAmount','TPL_GK_LANG_VM_INC_TAX', $product->prices);
endif;
} ?>
</div>
Result I get was that format for price is correct. However, I didn't manage to insert price with discount.
Please, let me know next step.
best regards,