VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: obdspecialist on March 31, 2014, 17:30:38 PM

Title: Double price ( VAT INCL.) not to be shown in the home page
Post by: obdspecialist on March 31, 2014, 17:30:38 PM
Hi to all

need to have a script to modify my CSS of 2.0.2 Virtuemart to show ONLY VAT EXCLUDED in the Home page

and only when I get inside a single product it will show double price ( VAT inc. & VAT excl. )

In the picture is shown the current situation ( double price )

Thanks for all the reply

Albert



[attachment cleanup by admin]
Title: Re: Double price ( VAT INCL.) not to be shown in the home page
Post by: jenkinhill on April 01, 2014, 15:13:50 PM
That looks like the category view so edit the default category view template so that the only price you display is the price without tax

eg only   echo $this->currency->createPriceDiv ('priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $product->prices);

Use the edited file as a template override.
Note that VM2.0.2 is over 2 years old and known to have critical security issues.  http://forum.virtuemart.net/index.php?topic=118683.0

Title: Re: Double price ( VAT INCL.) not to be shown in the home page
Post by: obdspecialist on April 02, 2014, 11:56:11 AM
Hi

many thanks to your answer

we do like this :


In this way the script you suggest works !  ;)

www.zkdental.it

Do you know a FREE MOBILE TEMPLATE for our WM version ( updated now 2.0.26D ) ?

Many Thanks

Alberto