Display product price including tax

MagentoI had to display the product’s price, along with taxes, in my custom theme outside the product page.

To do so, here a small snippet:

$taxprice= Mage::helper('tax')->getPrice($product, $product->getFinalPrice());
echo Mage::helper('core')->currency($taxprice,true,false);

This actually took more to be wrote here than executed, but whatever..

3 thoughts on “Display product price including tax

  1. Pingback: giant twist comfort cs

Your opinion is important!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s