Hi! Is it possible to show dual pricing, or just the price exluded of VAT? I still want the price to include VAT once the customer reaches the checkout. We are only selling to other businesses hence why we want to not include VAT in the product listings. We are using the Local theme.
Hi @Kimpa123 ,
To include or exclude tax from product prices:
- In your Shopify admin, go to the Settings → Taxes and duties page.
- Scroll down to the Tax calculations section.
- To exclude tax from your product prices, uncheck the All prices include tax checkbox.
Please don’t hesitate to reach out if you need further help optimizing or customizing your store. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
LuffyOnePiece
Thanks for your reply, however this does not solve the checkout issue. I want to exclude VAT from the product listings, however once the customer goes through the final stage of checkout I want the price to include VAT.
Hi @Kimpa123
I can send you a sample code for this,
changing this part in price.liquid :
{% liquid
assign compare_at_price = target.compare_at_price
assign price = target.price | default: 1999
assign available = target.available | default: false
assign money_price = price | money
assign tax_price = target.price | default: 1999 | times: 1.20
assign tax_money_price = tax_price | money
%}
and finally this one :
{{ 'products.product.price.regular_price' | t }}
{{ money_price }} HT
{{ tax_money_price }} TTC
The theme does only include a product-price.liquid. This is the full content of the file:
{%- if product_price_varies -%}
{%- liquid assign price = target.price | money if target.compare_at_price > target.price or target.compare_at_price_varies echo 'products.grid.on_sale_from_html' | t: price: price else echo 'products.grid.from_text_html' | t: price: price endif -%}{%- else -%}
{{ target.price | money }}
{%- endif -%}
{%- liquid if variant.unit_price_measurement echo variant.unit_price | money echo ' / ' if variant.unit_price_measurement.reference_value != 1 echo variant.unit_price_measurement.reference_value endif echo variant.unit_price_measurement.reference_unit endif -%}Sure, how do I send you a collaborator request?
How do I provide you access?