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.

Advertisements

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

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

Tags:

Comments are closed

Latest Comments

No comments to show.