• Hello,

    I noticed that when customer adds VAT on website using your plugin, the wat number is added twice.

    It add to same lines:
    VAT #: VAT_NUMBER
    VAT #: VAT_NUMBER

    Is there a way to check what can cause this?

Viewing 1 replies (of 1 total)
  • Plugin Author Diego

    (@daigo75)

    The EU VAT Assistant appends a VAT number token, only once, to the billing address. The token is called {vat_number}, and the plugin replaces it with the VAT number assigned to the user. The address is then displayed in various places, such as the emails.

    My guess would be that there’s something else appending either the VAT number, or an additional VAT number token to the billing address. You can either go by exclusion, disabling all other plugins, or scan the code to see if something is using a filter for woocommerce_localisation_address_formats, or woocommerce_order_formatted_billing_address appending the second VAT number.

Viewing 1 replies (of 1 total)
  • The topic ‘VAT number added twice to email’ is closed to new replies.