We'll create fresh WordPress site with WordPress EU VAT Helpers installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This WordPress plugin is basically a wrapper around the nifty mpociot/vat-calculator library. Use at your own risk!
[localize_currency value="133.42" currency="EUR"]Add EU VAT to value and format the result as a currency.
Attributes:
value (required): The amount to formatcurrency (optional, default: ‘EUR’): Currency format as three-letter ISO-4217 codecountry (optional, default by user’s IP address): Override the country for which to apply taxes and adapt the format (two-letter ISO-3166-1 alpha-2 code)[vat_rate]Display the EU VAT rate applicabe in the current user’s country in percent.
Attributes:
country (optional, default by user’s IP address): Override the country whose VAT rate to display (two-letter ISO-3166-1 alpha-2 code)[ip_country]Display the current user’s country based on their IP address.
[if_taxable]Echo something[/if_taxable]Condtitionally display a piece of content if EU VAT is applicable in the current user’s country.
Attributes:
country (optional, default by user’s IP address): Override the country for which to check (two-letter ISO-3166-1 alpha-2 code)[unless_taxable]Echo something[/unless_taxable]Condtitionally display a piece of content if EU VAT is not applicable in the current user’s country. (Inverse of if_taxable)
Attributes:
country (optional, default by user’s IP address): Override the country for which to check (two-letter ISO-3166-1 alpha-2 code)