Skip to main content

VAT Exemption on Cart

Enable Collect VAT Number in Zenvio

  1. In your Zenvio account, go to the Integrations → Shopify → Configuration
  2. Check the Enable EU VAT Exemptions checkbox in Taxes section
  3. Make sure the Collect EU VAT Numbers is checked too
  4. Save your changes

Add Zenvio Script to your store

  1. Go to Shopify Admin → Online Store → Themes
  2. Click Edit code
  3. Search for Layout → theme.liquid in the left sidebar
  4. 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 }} }
    });
    };
    </script>
  5. Save template!