Prices incl & excl VAT on home, shop and product page

Hi all!

I am in the process of creating a webshop that is in the B2B market and B2C. Therefore it is important for me to have the prices of incl VAT and excl VAT below each other.

The website defaults to prices including vat. Now I would like to have a line below this price where the price is excl vat.

The best thing is of course if I can show this on the whole website, and not only on the product page.

Does anyone know a solution for this?

Website: fielpower.com
Password: gowsun

Note: If it is easier to make a VAT toggle where you can switch between incl and excl this is also good. I have no preference between these 2.

Hey @FP6 ,
This is a common requirement for B2B + B2C stores, and Shopify doesn’t support showing both incl. and excl. VAT together by default , but you can achieve it with a small customization.

Option 1: Show Both Prices (Recommended)

You can display:

  • Price including VAT (default)
  • Price excluding VAT (calculated below it)

This requires a small edit in your theme (product + collection templates).

How it works:

  • Shopify already knows your tax rate
  • You calculate the excl. VAT price using Liquid

Example:

{% assign vat_rate = 1.21 %}  {# change based on your VAT % #}
{% assign price_ex_vat = product.price | divided_by: vat_rate %}

<p>{{ product.price | money }}</p>
<p>Excl. VAT: {{ price_ex_vat | money }}</p>

You can add this in:

  • `main-product.liquid (product page)
  • `card-product.liquid (collection/grid view)

Option 2: VAT Toggle (More Advanced)

You can create a toggle switch (Incl / Excl VAT):

  • Uses JavaScript to switch displayed prices
  • Updates across the site dynamically

This is cleaner UX but requires:

  • JS + Liquid integration
  • Slightly more development

And important Notes

  • You must use the correct VAT rate (e.g., 21%, 20%, etc.)
  • For multiple tax rates → gets more complex (needs logic per product/region)

Our Recommendation
Start with showing both prices (simple + effective).
If you want a more premium UX later > go for a VAT toggle.

We’ve implemented both for B2B/B2C stores, and the dual display works great in most cases.

If you’re not comfortable with editing theme files then let me know and I’ll be happy to give you a helping hand

Best Regards,
Rajat

Showing both prices via Liquid works on the product page but getting it consistent across the home page, collection pages, and search results means patching multiple templates separately.

An app called Momsify B2B VAT Switcher handles this storefront-wide with a single toggle. Business buyers switch to the ex-VAT view across every page without touching any templates. There is a free plan available.