FOX - Currency Switcher for WooCommerce

Google for WooCommerce

Plugin URL: https://wordpress.org/plugins/google-listings-and-ads/ In file functions.php of the current wp theme add next code:
add_filter('woocommerce_gla_product_query_args', function ($args) {
    if (class_exists('WOOCS')) {
        global $WOOCS;
        $WOOCS->reset_currency();
    }
    return $args;
});
 
Old code: In file wp-content\plugins\google-listings-and-ads\src\Product\WCProductAdapter.php add next code (2 places):
if (class_exists('WOOCS')) {
    global $WOOCS;
    if ($WOOCS->current_currency != $WOOCS->default_currency) {
        $WOOCS->reset_currency();
    }
}
 
This edit is inside another plugin's file, so a plugin update will undo it. Write the change down, and re-apply it after every update of that plugin — or ask its authors to include the fix on their side, which is the only version that survives. If the change is inside FOX itself, tell us: a fix that has to be re-applied by hand is a bug on our side, not a solution.