Loading

How to show product price in the frontoffice with VAT ?

5 posts / 0 new
Last post
Anonymous
How to show product price in the frontoffice with VAT ?

Hi,

In EU the tax is calculated on the seller's country. So I would like the price of the product displayed on the front office is displayed with VAT. Is it possible or I have to modified the code ?

Thanks ?

Offline
Joined: 10/12/2010

It's not possible without modifying the code.

The main problem is that the price helper (library/Axis/View/Helper/Price.php) doesn't know what product is rendered now, and what tax should be applied.

I think the price helper should be changed to accept the product instance instead of plain price and do the calculation of the taxes.

anardil (not verified)

I think it will be nice to have this feature in next version.
You can change helper and add an optional parameter "tax_class_id".
=> public function price($price, $priceDiscount = false, $code = '', $taxClassId=false).
And also add a config value like Magento => Show prices with VAT : Yes/No ?

What do you think ?

Offline
Joined: 10/12/2010

We will add the possibility to show the price with tax in one of the next versions.

Offline
Joined: 03/27/2013

In a survey of over 200 people, over 75% of them said the thing that kept them from writing articles is they either didn't know how to write an article, they didn't have the time, or they didn't know what to write about.greatest essays ever written