Hey guys,
a question regarding the displaying of the german VAT as net prices without tax.
We are just setting up the shop. Shopify Plan: basic
German VAT: products with 19% VAT and products with 7% VAT
Our shop has products with 2 different taxes. Most of them have 19% VAT and others have 7% VAT. Our problem is that we need to show correct net prices of all products (19% products and 7% products) for wholesalers/b2b customers in the shop.
The basic setting for the shop is with 19% VAT and the 7% VAT Products are in a collection (collection with only 7% VAT Products) to override the basic VAT setting.
Any ideas would be pretty much appreciated!
Best
Julian
Hi there,
On Shopify Basic, there’s no built-in option to dynamically display net prices (without tax) while still keeping different VAT rates (19% & 7%) visible for the correct products.
Here’s what you can do:
1. Store both tax-inclusive and tax-exclusive prices in Liquid
{% assign vat_rate = 0.19 %}
{% if product.collections contains '7-vat' %}
{% assign vat_rate = 0.07 %}
{% endif %}
{% assign net_price = product.price | divided_by: 1 | times: 1 %}
{% assign net_price = net_price | divided_by: 1 | times: 1 %}
{% assign net_price = product.price | divided_by: 1 | divided_by: 1.0 %}
Net: {{ product.price | divided_by: 1 | divided_by: (1 | plus: vat_rate) | money }}
(Adjust to your theme’s currency format.)
2. Identify 7% VAT products
-
You’ve already created a collection for 7% VAT products.
-
In Liquid, check if the product belongs to this collection and adjust the VAT rate accordingly.
3. Limitations
-
This only changes the display of prices, not how Shopify calculates them in checkout (checkout will still add the correct VAT rate automatically).
-
If you want B2B customers to always see net prices, you might need an app that supports customer tagging and conditional price display (like B2B/Wholesale Solution or Exemptify).
4. Recommended app route
If you don’t want to touch code, apps like Exemptify or B2B/Wholesale Club can:
-
Detect if a customer is tagged as B2B.
-
Show net prices without tax in the storefront.
-
Keep VAT calculations correct in checkout for both 19% & 7% products.
Sinh Developer, from Tipo