How to add VAT / Tax in Magento using the ‘Tax Helper’

I will keep this simple, if you want to ‘echo’ a total price inc VAT – the code below is what you need.


$_coreHelper = $this->helper('core');
$_taxHelper = $this->helper('tax');

echo $_coreHelper->currency($_taxHelper->getPrice($_product, $_product->getFinalPrice(), true), true, false);

The following two tabs change content below.

Shane Richardson

Web Developer / Admin at HL Training Services
I have worked at various companies developing E-Commerce websites, and am keen to improve my developing skills. I also enjoy networking and maintenance. I graduated from University of the West of England and achieved a 2:2 in BSc Computing.

Latest posts by Shane Richardson (see all)