How can I display a widget allowing a visitor to pre-select their country, when viewing products (and thus set VAT accordingly)?

There is a widget for this; so, look in your dashboard, in Appearance -> Widgets. You can also display it anywhere in page content, using a shortcode, optionally including an option for displaying prices without taxes. The shortcode is euvat_country_selector, and optionally takes parameters:

  • “include_notaxes” which you can set to “true” or “false”.
  • “include_which_countries” which can take the values “all” (default), “shipping” or “selling”, depending upon whether you want to display all countries, or just those that WooCommerce is configured to ship to, or sell to.

Posted in: WooCommerce EU/UK VAT Compliance