Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi
I am about to publish my website soon.
The shop is based in Japan. Like most Japanese shops, I would like to show prices as both VAT included, and VAT excluded.
I came across the link below. However, it says that “This solution will only work if your products have only one variant”.
On my site, products have 2 variants.
Could you please suggest a solution?
Best regards
SK
Hi,
Hopefully you have already found a solution, however I wanted to share how I solved this. I also have an online shop based in Japan.
In my case, I show all prices excluding tax and wanted to show this by a label after the price. To solve that I have added a piece of code in the product-price.liquid template:
<span class="price-item price-item__tax">
{% if shop.taxes_included %}
{{ 'products.product.tax_included' | t }}
{% else %}
{{ 'products.product.tax_excluded' | t }}
{% endif %}
</span>
The 'products.product.tax_included' and 'products.product.tax_included' variables are translations since I have a bilingual shop (Japanese and English).
With the 'price-item__tax' CSS class that I added to the theme.scss.liquid template, I can do some necessary formatting.
Hope this may help you with your problem.
Cheers! Sacha