I have this web:
http://www.pixelatumente.es/ecopav/ofertas-y-precios/kits-ecopav-level/kit-ecopav-level-8m2-detalle
I need show custom fields with tax. When I choose the variables shown include VAT in the car. In 2.0.6 works but not in 2.0.14?
I've seen this solution but does not work:
administrator/components/com_virtuemart/models/customfields.php
Line 864
Use this code, changing * 1.19 for your own tax value.
if ((float)$productCustom->custom_price) {
//ORIGINAL: $price = strip_tags ($currency->priceDisplay ($calculator->calculateCustomPriceWithTax ($productCustom->custom_price)));
$price = strip_tags ($currency->priceDisplay ($calculator->calculateCustomPriceWithTax ($productCustom->custom_price * 1.19)));
}
I tried everything and it does not work. even replace the file with the version 2.0.8
I think the solution is between 966-969 lines... ???
if ((float)$customPrice) {
$price = strip_tags ($currency->priceDisplay ($calculator->calculateCustomPriceWithTax ($customPrice)));
if ($customPrice >0) {
$price ="+".$price;