Set disabled customers as VAT exempt

In some countries (e.g. the UK), disabled persons should not be charged VAT on certain products. 

Typically, the tax exemption applies to products designed or adapted for people with any kind of disability such as wheelchairs, medical appliances and alarms.

If your Shopify store sells this kind of products, Sufio will help you automatically set customers with disabilities as tax exempt so they are not charged VAT during checkout.

Add disability field on customer registration page

Sufio allows you to add a Are you a disabled person? checkbox to the Customer Registration form. This will allow your customers to declare themselves as disabled when they set up their customer accounts in your store. 

Shopify customer registration form disabled VAT exempt
Example of a Customer Registration form with a disability field

Such customers will then be tagged as disabled in your Shopify store and automatically set as tax exempt.

To add the disability field to the Customer Registration page: 

  1. Go to the page Online StoreThemes in your Shopify admin. 
  2. Click the Actions button, then click Edit code
  3. Select customers/register.liquid in the left sidebar. 
  4. Insert the following code snippet inside the <form>. A good place for the field is below the Password field.

<!-- Shopify customer registration -- checkbox for disabled customers. Used by Sufio for Shopify (www.sufio.com/shopify). -->
<p>
  <input type="checkbox" name="customer[tags]" id="Disability" value="disabled" />
  <label for="Disability" class="inline">Are you registered disabled?</label>
</p>

  1. Select index.liquid in the left sidebar.
  2. Insert the following code snippet at the end of this file.

{% if customer.tags contains 'disabled' %}
<!-- Shopify customer account -- set disabled customer as VAT exempt. Used by Sufio for Shopify (www.sufio.com/shopify). -->
<script type="text/javascript">
  function getCookieValue(a) { var b = document.cookie.match('(^|;)\\s*' + a + '\\s*=\\s*([^;]+)'); return b ? b.pop() : ''; }
  
  document.addEventListener("DOMContentLoaded", function(event) {
    var email = "{{ customer.email }}";
    if (getCookieValue("sufio_vat_email_disabled") != email) {
      document.cookie = "sufio_vat_email_disabled="+email+";expires=Tue, 31 Dec 2030 00:00:00 GMT;path=/";
      $.ajax({
        type : "GET",
        dataType: "jsonp",
        url: "/apps/sufio/customer-vat/",
        data: { email: "{{ customer.email }}", force_tax_exempt: true }
      });
    };
  });
</script>
{% endif %}

Note

Please note that to make VAT exemptions work, you need to enable the VAT exemptions feature in your Sufio account.

Need help?

Do you need help with updating your store theme? Contact one of our Shopify Expert partners who will be happy to assist you.