Try our conversational search powered by Generative AI!

Display price with or withour vat on product page



We have our net prices in Commerce. When we display our prices in listings and on the product page we sometimes want to show the price with vat. Is there an easy way to do this?

We are using ip location to figure out what country the user is visiting from so when we go to the checkout and adds an empty delivery address with the country the tax configuration does the calculation and adds the vat if there is a vat configured for the country, good.
But we would like to show the price correctly before the checkout. What we could do is to use the CatalogTaxManager and the OrderContext.Current.GetTaxes() to get the tax value for the specific country and then do the calculation before we show the price but it would be nice to Commerce do that by sending the country code to the pricing service.

Any suggestions?



Jun 13, 2017 18:13


We want to improve this, however it'll have to come with major work in Tax system. There is no promise yet, but it'll likely happen in Commerce 12 (breaking changes are needed).



Jun 21, 2017 11:33

Sounds great! I've had questions about the tax system before and it really needs some love. Looking forward to see this!



Jun 21, 2017 11:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.