• Resolved Duncan

    (@duncan1967)


    May I just share a puzzling issue in case someone else encounters it, with resolution?

    Test Environment:

    • UK shop selling online courses to EU, selling in UK pounds.
    • Plugin: EU/UK VAT Compliance for WooCommerce (free) – version 1.28.0
    • Plugin: FOX – Currency Switcher Professional for WooCommerce (free version) – version 1.4.1.1?

    Issue:

    Both the WooCommerce order sidebar box “VAT Compliance Information” and “VAT Compliance – VAT Reports” display VAT amount correctly (in both Euro and UK pound figures) but all currency symbols are UK pounds (instead of Euros), as illustrated below.

    VAT (19%) (19.00 %)
    Items: 24.08 / £ 20.60

    Resolution

    This was traced to core WooCommerce function get_woocommerce_currency_symbol($currency) which applies filter woocommerce_currency_symbol() on the currency symbol lookup it returns – so that one can force a desired symbol, for instance, or update one etc.

    The Fox currency switcher plugin, formerly called WOOCS, uses this filter also and defines the appropriate function to perform the filtering.

    Disabling Fox Currency Switcher (v1.4.1.1) results in the correct currency symbol being displayed:

    VAT (19%) (19.00 %)
    Items: 24.08 / £ 20.60
    Shipping: € 0.00 / £ 0.00
    Total: 24.08 / £ 20.60

    I share this on David’s plugin forum because I’m going to keep the (excellent) VAT Compliance Plugin and drop the currency switcher plugin, but it’s quite popular so I’m pretty sure others will encounter this issue and wonder as to the cause.

    And yes, one could/should raise the issue with the Fox Currency Switcher Plugin support if one wished to use both plugins … I just want to affirm “It’s not the VAT Compliance plugin” if anyone experiences the issue. ??

    Best from Hong Kong!

    Duncan.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘VAT currency symbol incorrect when Fox currency switcher active’ is closed to new replies.