VAT Exemption on Customer Registration
Enable Collect VAT Number in Zenvio
- In your Zenvio account, go to the Integrations → Shopify → Configuration
- Check the Enable EU VAT Exemptions checkbox in Taxes section
- Make sure the Collect EU VAT Numbers is checked too
- Save your changes
Add Zenvio Script to your store
- Go to Shopify Admin → Online Store → Themes
- Click Edit code
- Search for Layout → theme.liquid in the left sidebar
- Copy and paste the following code snippet inside the field. An ideal place is at the end of the file, just before the ending tag.
<script async src="https://cdn.zenvio.com/apps/shopify/client.js" id="zenvio-script" ></script>
<script>
document.getElementById("zenvio-script").onload = function() {
Zenvio.configure({
customer: {
id: {{ customer.id | json }},
email: {{ customer.email | json }},
metafields: {{ customer.metafields.zenvio | json }},
},
cart: { attributes: {{ cart.attributes | json }} }
});
Zenvio.VAT.onCustomerRegister();
};
</script> - Save template!