Showing inc VAT prices on Minimal Theme

New Member
1 0 0
Hi,
 
I am using the minimal theme and have used this VAT help doc on the Shopify site to show inc VAT prices across the site. Most pages now show the inc VAT price, however, the product page flashes the price up for a split second before switching back to ex VAT price. As far as I can tell, this is controlled using the product-liquid.template and these sections:
 
<div class="product-single__prices{% if shop.taxes_included or shop.shipping_policy.body != blank %} product-single__prices--policy-enabled{% endif %}">
            <span id="PriceA11y" class="visually-hidden">{{ 'products.product.regular_price' | t }}</span>
            <span id="ProductPrice" class="product-single__price" itemprop="price" content="{{ product.price | times:1.20 | divided_by: 100.00 }}">
              {{ product.price | times:1.20 | money }}
            </span>

            {% if product.compare_at_price > product.price %}
              <span id="ComparePriceA11y" class="visually-hidden" aria-hidden="false">{{ 'products.product.sale_price' | t }}</span>
              <s id="ComparePrice" class="product-single__sale-price">
                {{ product.compare_at_price_max | times:1.20 | money }}
              </s>
            {% else %}
              <span id="ComparePriceA11y" class="visually-hidden" aria-hidden="true">{{ 'products.product.sale_price' | t }}</span>
              <s id="ComparePrice" class="product-single__sale-price hide">
                {{ product.compare_at_price_max | times:1.20 | money }}
              </s>
            {% endif %}
          </div>
 
and
 
<option {% if variant == product.selected_or_first_available_variant %} selected="selected" {% endif %} data-sku="{{ variant.sku }}" value="{{ variant.id }}">{{ variant.title }} - {{ variant.price | times:1.2 | money }}</option>
 
So, times:1.2 is being used everywhere price is mentioned but it keeps on switching. Can you advise where I need to add extra code?
 
Thanks,
 
Nathan
0 Likes