=== Aelia Currency Switcher for WooCommerce ===
Tags: aelia, woocommerce, currency switcher, multiple currencies
Requires at least: 3.6
Tested up to: 6.8.9
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Aelia Currency Switcher for WooCommerce allows your shop to display prices and accept payments in multiple currencies. This will grant your customers the possibility of shopping in their favourite currency, thus increasing conversions.
== Description ==
The Aelia Currency Switcher will allow you to configure a list of the currencies you would like to accept. Such currencies will then appear in a list, displayed as a widget, which your Users can use to choose their preferred currency. When a customer selects a currency, the shop will be both displaying prices and completing transactions in the new currency. The prices displayed on the shop will be the ones that the customer will pay upon completing the order.
Increase conversion by cutting credit card fees
Credit Card operators often charge a conversion fee when a payment is made in a currency different from the one for which the card was issued. This adds an extra cost on every purchase, and it can discourage prospective customers. Giving your Visitors the possibility of paying in their currency can help improving conversion.
Every order will store the currency used to place it, so that both Shop Managers and customers will be able to retrieve it and see how much they paid.
*Important*: Your ability to accept payment in each currency will depend on your payment gateway and/or payment processor.
= Acknowledgements =
* The Aelia Currency Switcher for WooCommerce includes GeoLite data created by MaxMind, available from https://www.maxmind.com.
* The Aelia Currency Switcher for WooCommerce includes
== Requirements ==
* WordPress 4.0 or newer.
* PHP 7.1 or newer.
* WooCommerce 3.0.x or newer.
* **Free** [Aelia Foundation Classes framework](https://aelia.co/downloads/wc-aelia-foundation-classes.zip) 2.4.9.230616 or newer (the plugin can install the framework automatically).
== Installation ==
1. Extract the zip file and drop the contents in the wp-content/plugins/ directory of your WordPress installation.
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Follow the instructions in our knowledge base to configure the Currency Switcher: [Aelia Currency Switcher - Getting Started](https://aelia.freshdesk.com/solution/articles/3000063641-aelia-currency-switcher-getting-started).
== Support ==
The Currency Switcher is backed by a top class support service, as well as a knowledge base to help you getting the best out of it. You can find them both here: [Currency Switcher - Support Portal](https://aelia.freshdesk.com/support/solutions/120257).
== Changelog ==
= 5.2.8.250501 =
* Fix - Fixed edge condition that caused a fatal error when editing an existing order while the HPOS "compatibility mode" was enabled.
= 5.2.7.250414 =
* Declared compatibility with WooCommerce 9.8.
* Declared compatibility with WordPress 6.8.9.
= 5.2.6.250212 =
* Tweak - Refactored interfaces with exchange rates providers, removing the dependency from the Httpful library.
* Tweak - Removed obsolete interfaces with exchange rates providers Yahoo! Finance and WebServiceX.
* Fixed - The shortcode `aelia_cs_product_price` no longer shows a price of zero when the product price returned by WooCommerce is empty or non-numeric.
* Declared compatibility with WooCommerce 9.7.
= 5.2.5.250106 =
* Declared compatibility with WooCommerce 9.6.
= 5.2.4.241202 =
* Declared compatibility with WooCommerce 9.5.
* Declared compatibility with WordPress 6.7.9.
= 5.2.3.241101 =
* Tweak - Added check to ensure that the exchange rate is handled correctly for refunds.
= 5.2.2.241028 =
* Tweak - Added safeguard to prevent WooCommerce from duplicating the `_base_currency_exchange_rate` stored against orders. This fixes the issue in Analytics calculating the same orders multiple times.
= 5.2.1.241009 =
* Tweak - Added recalculation of the base currency exchange rate stored against orders when the order currency changes (e.g. when editing manual orders).
= 5.2.0.241007 =
* Feature - Added integration with the new geolocation logic in the AFC 2.6.x.
* Declared compatibility with WooCommerce 9.3.
= 5.1.12.241003 =
* Tweak - Refactored orders integration. Optimised logic used to calculate order amounts in the shop's base currency by reusing the exchange rate saved against the order.
= 5.1.11.240910 =
* Declared compatibility with WooCommerce 9.3.
= 5.1.10.240807 =
* Declared compatibility with WooCommerce 9.2.
= 5.1.9.240709 =
* Declared compatibility with WooCommerce 9.1.
= 5.1.8.240606 =
* Declared compatibility with WooCommerce 9.0.
= 5.1.7.240514 =
* Declared compatibility with WooCommerce 8.9.
= 5.1.6.240414 =
* Declared compatibility with WooCommerce 8.8.
= 5.1.5.240327 =
* Tweak - Improved logic used to generate reporting data for existing orders to cover the case in which some of the data already exists.
= 5.1.4.240307 =
* Declared compatibility with WooCommerce 8.7.
* Declared compatibility with WordPress 6.5.9.
= 5.1.3.240215 =
* Tweak - Improved compatibility with PHP 8.2 and removed deprecation notices linked to dynamic properties.
= 5.1.3.240205 =
* Tweak - Added safeguard to ensure that the `Install_Manager::init()` method is only called after the woocommerce_init event has been executed.
= 5.1.2.240131 =
* Tweak - Removed dependency from function `get_arr_value()`.
* Fix - Fixed calls to the wp_get_current_user() function.
* Declared compatibility with WooCommerce 8.6.
= 5.1.1.240109 =
* Declared compatibility with WooCommerce 8.5.
= 5.1.0.231206 =
* Feature - Updated bundled Shipping Pricing addon, with support for the new Shipping Settings UI introduced in WC 8.4.
* Declared compability with WooCommerce 8.4.
= 5.0.17.231117 =
* Tweak - Added filter `wc_aelia_cs_should_convert_coupon`, to allow 3rd parties to decide when a coupon amount should be converted.
= 5.0.16.231102 =
* Declared compatibility with WordPress 6.4.x.
* Tweak - Removed obsolete argument from filter `wc_aelia_cs_load_order_edit_scripts`.
= 5.0.15.231030 =
* Tweak - Fixed declaration of property `Settings::$_default_geoip_currency`.
* Declared compatibility with WooCommerce 8.3.
= 5.0.14.230927 =
* Tweak - Updated integration with checkout block to support the address selection on the cart block.
* Tweak - Improved compatibility with PHP 7.1 to 7.3.
* Declared compatibility with WooCommerce 8.2.
= 5.0.13.230923 =
* Tweak - Handled edge case scenario that caused shipping costs to be cached across currencies, instead of being recalculated.
= 5.0.12.230905 =
* Declared compatibility with WooCommerce 8.1.
= 5.0.11.230824 =
* Tweak - Updated declaration of database updater classes to reference the `IScheduled_Task` interface.
= 5.0.10.230809 =
* Declared compatibility with WooCommerce 8.0.
= 5.0.9.230804 =
* Fix - Handled edge condition that could cause database update task for version 5.0.4.230626 to loop over a refund with an invalid currency.
= 5.0.8.230720 =
* Feature - Added filter `wc_aelia_cs_database_updater_batch_size`, to allow 3rd party to specific a different batch size for the database updater.
= 5.0.7.230718 =
* Updated language files.
= 5.0.6.230718 =
* Tweak - Added check to ensure that function `aelia_declare_feature_support` exists before calling it.
= 5.0.5.230703 =
* Tweak - Improved messages in the installation/database upgrade process.
* Tweak - Improved logging in the installation/database upgrade process.
* Localisation - Updated language files.
* Updated supported WooCommerce versions.
= 5.0.4.230626 =
* Refactored installer and database updater to support HPOS tables.
* Improvement - Rewritten the logic used to import sales data from orders.
* Improvement - Implemented a new user interface to allow administrators to trigger the import of order data manually.
= 5.0.3.230503 =
* Merged changes from master branch.
= 5.0.2.230413 =
* Feature - HPOS Compatibility. Added support for the new Orders list page.
= 5.0.1.230329 =
* Feature - Improved support for High Performance Order Storage on the Analytics pages.
* Merged changes from master branch.
= 5.0.0.230203 =
* Feature - Added support for High Performance Order Storage on the Edit Order table, analytics and checkout process.
* Updated supported WooCommerce versions.
= 4.16.0.230623 =
* Refactor - Rewritten the logic used to perform the installation and database upgrade, using a task scheduler.
= 4.15.8.230524 =
* Updated supported WooCommerce versions.
= 4.15.7.230503 =
* Updated supported WooCommerce versions.
= 4.15.6.230420 =
* Fix - Fixed bug that prevented administrators from changing the base currency on simple products.
= 4.15.5.230406 =
* Updated supported WordPress versions.
= 4.15.4.230322 =
* Feature - Added filter `wc_aelia_cs_reports_pre_get_currencies_from_sales`. The filtwr allows 3rd parties to set the list of currencies available on reports and analytics pages.
* Tweak - Added optimisation to the logic used to determine the active currency for sales reports, analytics and the dashboard status widget.
* Tweak - Added optimisation to the conversion logic for variable products.
* Tweak - Improved accessibility of simple dropdown currency and country selector.
* Updated supported WooCommerce versions.
= 4.15.3.230306 =
* Tweak - Added filter `wc_aelia_cs_turkey_central_bank_fetch_rates_request`, to allow 3rd parties to set CURL options before the request is sent to the Turkey Central Bank.
* Fix - Handled condition that could cause a product's currency-specific sale prices to be set to zero at the end of a sale, under PHP 8.x.
* Updated supported WooCommerce versions.
= 4.15.2.230214 =
* Updated supported WooCommerce versions.
* Updated bundled Shipping Pricing Addon.
= 4.15.1.220206 =
* Tweak - Improved support for the WooCommerce checkout block, to detect the changes in the billing and shipping country.
= 4.15.0.220103 =
* Tweak - Assigned EUR to Croatia by default.
* Updated supported WooCommerce versions.
= 4.14.6.221203 =
* Added logic to set EUR as the currency for Croatia from the 1st of January 2023.
* Updated supported WooCommerce versions.
= 4.14.5.221110 =
* Updated supported WordPress versions.
= 4.14.4.221101 =
* Fix - Fixed condition that caused a missing "sale price" property to generate an error in the log when a product base currency was set to one different from the shop's base currency.
* Updated supported WooCommerce versions.
= 4.14.3.220919 =
* Feature - Added filter `wc_aelia_cs_conversion_decimals` to allow 3rd parties to specify the number of decimals used to round the result of a conversion.
* Updated supported WooCommerce versions.
= 4.14.2.220830 =
* Fix - Fixed logic used to determine the shipping country to be used at checkout to choose the currency when the "force currency by country" option is set to "shipping country".
* Fix - Fixed condition that caused valid, but empty price properties of products as being logged as "missing" after the conversion.
* Updated supported WooCommerce versions.
= 4.14.1.220803 =
* Fix - Corrected label for the "default currency" setting in the Geolocation tab.
= 4.14.0.220730 =
* Improved compatibility with PHP 8.2. Introduced new logic to track auxiliary object data, without relying on dynamic properties.
* Updated supported WooCommerce versions.
= 4.13.12.220704 =
* Updated supported WooCommerce versions.
= 4.13.11.220615 =
* Fix - Fixed bug that caused the "flags" country selector to show a broken image when the detected country wasn't in the list of allowed countries.
= 4.13.10.220604 =
* Updated supported WooCommerce versions.
= 4.13.9.220519 =
* Fix - Fixed bug that caused the "flags" currency selector widget to show broken images when a country whose currency was enabled was assigned to a different currency.
= 4.13.8.220502 =
* Updated supported WordPress versions.
= 4.13.7.220501 =
* Fix - Fixed bug related to manual orders. The bug caused the duplication of order item meta after clicking on the "recalculate" button.
= 4.13.6.220421 =
* Updated currency code for Mauritanian ouguiya.
* Updated JS dependencis (@wordpress/scripts).
* Updated supported WooCommerce versions.
= 4.13.5.220330 =
* Updated supported WooCommerce versions.
= 4.13.4.220315 =
* Tweak - Improved support for WooCommerce Blocks > Checkout block. The block can now trigger the "force currency by country" option and update the currency when the shipping or billing country change.
= 4.13.3.220224 =
* Updated supported WooCommerce versions.
= 4.13.2.220131 =
* Fixed - Fixed recalculation of cart totals in Elementor's minicart and off-canvas cart. The new logic uses event `woocommerce_before_mini_cart_contents` for the recalculation, instead of `woocommerce_before_mini_cart`, as the latter is not triggered by Elementor.
= 4.13.1.220124 =
* Tweak - Added check to ensure that the currency set while adding a manual order is always a string. This fixes the compability issue with WooCommerce PayPal Payments (see https://wordpress.org/support/topic/manual-add-order-error).
* Updated supported WooCommerce versions.
= 4.13.0.220104 =
* Feature - Added settings page to implement a custom country/currency mapping.
* Updated localisation files.
* Updated supported WooCommerce versions.
= 4.12.13.211217 =
* Tweak - Removed legacy code used to determine if a product is on sale.
* Refactor - Replaced call to deprecated function `current_time()` with `time()`.
= 4.12.12.211208 =
* Updated supported WooCommerce versions.
* Updated supported WordPress versions.
= 4.12.11.211109 =
* Fix - Fixed rendering glitch of the dropdown currency selector with flags on Safari (MacOS).
* Fix - Fixed rendering glitch of the dropdown country selector with flags on Safari (MacOS).
= 4.12.10.211103 =
* Fix - Restored missing scripts used by the WooCommerce Admin integration.
= 4.12.9.211102 =
* Updated supported WooCommerce versions.
= 4.12.8.211005 =
* Updated supported WooCommerce versions.
= 4.12.7.210922 =
* Fix - Fixed HTML used to display the title of the widgets provided by the plugin, to ensure that the correct styling is applied automatically.
= 4.12.6.210825 =
* Fix - Fixed rendering of the currency selector widget used on New Order page, to display the currency selection button.
* Tweak - Removed Yahoo! Finance and WebServiceX from the available exchange rates providers. These services are no longer available.
= 4.12.5.210819 =
* Tweak - Modified the logic used to load the available payment gateways on the settings page. The new logic should also see "special" payment methods, such as the PayPal Credits Cards added by the WooCommerce Payments plugin.
* Feature - Added filter `wc_aelia_cs_settings_payment_gateway_available`. The filter allows 3rd parties to force a payment gateway to appear as available or unavailable in the backend, regardless of the result of the actual availability check.
= 4.12.4.210805 =
* Tweak - Added check for the presence of cart fragments to the frontend scripts. This will prevent errors caused by the fragment variable not being set.
* Fix - Fixed purging of cart fragments when using the "buttons" currency selector.
* Refactor - Rewritten settings page using the new Aelia settings API.
* Updated supported WooCommerce versions.
= 4.12.3.210711 =
* Compatibility - Improved compatibility with WordPress 5.8. Added better support for the new block widget editor.
* Updated requirements - The plugin now requires Aelia Foundation Classes 2.1.13.210706 or newer.
= 4.12.2.210706 =
* Feature - Added country selector widget with country flags.
= 4.12.1.210629 =
* Refactor - Rewritten currency selector widget scripts using TypeScript.
= 4.12.0.210629 =
* Feature - Added currency selector widget with country flags.
* Feature - Added currency display mode to currency selector widget. The widget now allows to choose if the currency code or the currency name should be displayed.
* Fix - Fixed currency formatting logic. Due to a typo, the currenc format settings were not taken into account in the latest update.
= 4.11.6.210623 =
* Addon - Updated bundled Shipping Pricing Addon.
= 4.11.5.210622 =
* Updated supported WooCommerce versions.
* Updated supported WordPress versions.
= 4.11.4.210622 =
* Addon - Updated bundled Shipping Pricing Addon.
= 4.11.3.210607 =
* Tweak - Added plugin icon for Freemius integration.
= 4.11.2.210531 =
* Feature - Added filter `wc_aelia_cs_get_product_price`. The filter allows to fetch the price of a product in a specific currency.
= 4.11.1.210520 =
* Added filter `wc_aelia_cs_converted_product_base_price`. The filter allows 3rd parties to alter the result of a conversion of a product's base price.
* Tweak - Updated settings page to include the Freemius contact form and account page.
* Updated requirements.
* Updated supported WooCommerce versions.
= 4.11.0.210517 =
* Tweak - Code refactoring. Reorganised the code to make it better organised and easier to maintain and expand.
* Feature - Added logic to bundle the Shipping Pricing Addon.
= 4.10.2.210513 =
* Updated supported WooCommerce versions.
= 4.10.1.210406 =
* Updated supported WooCommerce versions.
= 4.10.0.210312 =
* Feature - Added support for WooCommerce Checkout Block. Choosing a country from that block now updates customer's country and currency, when the "force currency by country" option is enabled.
* Tweak - Refactored WooCommerce Admin integration. Moved initialization of the integration to the `woocommerce_init` event.
* Tweak - Refactored logic used to convert shipping costs. The new logic now also looks for the shipping costs currency in the meta assigned to a shipping rate.
* Tweak - Improved logic used when the "force the currency by country" option is enabled. The new logic performs additional checks on the checkout page, to ensure that the currency matching the country selected by the customer is used to complete the order. This can improve compatibilities with plugins like Smart Coupons, which can trigger Ajax calls that can involuntarily affect the currency selection.
= 4.9.15.210311 =
* Updated supported WordPress and WooCommerce versions.
= 4.9.14.210215 =
* Fix - Fixed check of the nonce used by the shipping calculator on the cart page. The check is performed when the "force currency by country" option is set to "shipping country".
= 4.9.13.210128 =
* Updated supported WooCommerce versions.
= 4.9.12.210121 =
* Tweak - Refactored price conversion logic for grouped products.
= 4.9.11.210114 =
* Fix - Modified logic used to fetch the currency from current user's profile, so that is only applies to logged in users.
* Tweak - Moved filter `wc_aelia_cs_get_product_base_currency` to class `WC_Aelia_CurrencyPrices_Manager`.
* Feature - Added filter `wc_aelia_cs_get_product_base_price_in_currency`, to allow 3rd parties to fetch the base price of a product in a specific currency.
* Tweak - Rewritten and simplified price filter widget integration, for better compatibility with multiple WooCommerce versions.
= 4.9.10.210105 =
* Fix - Temporarily removed check on product's base currency on Edit Product page. The check could cause issues with variable products, which are going to be addressed.
= 4.9.9.210102 =
* Fix - Fixed currency selection logic. The "refresh" option now clears the selected currency, so that the selection can be performed again.
* Updated supported WooCommerce versions.
* Updated language files.
= 4.9.8.201228 =
* UI - Added check against the "product base currency" field on the Edit Product page, to warn the administrators when they set a base currency, but don't enter a price for it.
* Updated supported WooCommerce versions and requirements.
= 4.9.7.201227 =
* Fix - Fixed bug introduced in `4.9.5.201125` in the logic used to fetch customer's country. The bug could trigger a fatal error when option "force currency by country" was enabled at WooCommerce > Currency Switcher > Currency Selection.
= 4.9.6.201207 =
* Tweak - Improved consistency in the display of the exchange rates schedule.
* Updated supported WooCommerce versions.
= 4.9.5.201125 =
* Tweak - Refactored currency selection logic, to make it more consistent.
* Tweak - Optimised logic used to load currency format settings (decimal separator, thousand separator, currency symbol).
= 4.9.4.201118 =
* Feature - Added support for the new Analytics > Variations report introduced in WooCommerce 4.8.
* Tweak - Improved logic used to store exchange rates agaisnt refunds, when populating report data.
* Updated supported WordPress and WooCommerce versions.
= 4.9.3.201103 =
* Updated supported WooCommerce versions.
= 4.9.1.201005 =
* Updated supported WordPress versions.
= 4.9.0.200917 =
* Tweak - Improved WooCommerce Admin Analytics integration. Added option to generate reports with all data and totals in base currency, like in standard reports. **This feature requires WooCommerce 4.6 or later**.
* Tweak - Removed obsolete jQuery library `jquery.ba-bbq.min.js`.
= 4.8.15.200904 =
* Updated supported WooCommerce versions.
= 4.8.15.200902 =
* Tweak - Added Freemius deploy script.
= 4.8.14.200813 =
* Updated supported WordPress and WooCommerce versions.
= 4.8.14.200805 =
* Tweak - Improved WooCommerce Admin Analytics integration. Added currency filter to Dashboard report.
* Updated supported WooCommerce versions.
= 4.8.13.200617 =
* Feature - Added new filter `wc_aelia_cs_product_requires_conversion`.
* Added support for `currency` attribute stored against a shipping rate. This will make it easier to add multi-currency support to shipping plugins.
* Tweak - Updated admin UI to show that the log files now contain a timestamp in their name.
* Fix - Fixed check that caused a "zero decimals" setting to be ignored.
* Fix - Added trimming of exchange rates entered manually on the settings page.
* Updated supported WooCommerce versions.
= 4.8.7.200417 =
* Feature - Added logic to save the base currency exchange rate against each order and refund.
* Tweak - Improved WooCommerce Admin Analytics. Added logic to set the currency symbol and format dynamically.
= 4.8.12.200605 =
* Tweak - Code optimisations, to improve performance.
= 4.8.11.200524 =
* Tweak - Improved WooCommerce Admin Analytics integration. Added currency filter to Coupons report.
= 4.8.10.200518 =
* Tweak - Changed level of "exchange rate not found" message from ERROR to WARNING.
* Updated supported WooCommerce versions.
= 4.8.9.200506 =
* Tweak - Improved WooCommerce Admin Analytics integration. Added logic to decode HTML entities for currency symbols and price formats.
= 4.8.8.200428 =
* Updated requirement checking class.
* Updated requirements.
* Updated supported WooCommerce versions.
= 4.8.7.200427 =
* Tweak - Improved WooCommerce Admin Analytics integration. Added logic to set the currency symbol and format dynamically (requires WooCommerce Admin 1.1.0 or newer).
= 4.8.6.200408 =
* Updated supported WooCommerce versions.
= 4.8.5.200318 =
* Fix - Set default report currency to shop's base currency on WooCommerce Admin Analytics reports.
= 4.8.4.200316 =
* Tweak - Improved handling of cases when product prices are stored in an incorrect format.
= 4.8.3.200311 =
* Tweak - Added check to disable the WooCommerce Admin integration on WooCommerce 3.8 and earlier, where it can't run.
= 4.8.2.200310 =
* Feature - Added preliminary support for WooCommerce Admin Analytics reports.
* Updated supported WooCommerce and WordPress versions.
= 4.8.1.200207 =
* Tweak - Added logic to clear the currency-specific sale prices at the end of a scheduled sale.
* Updated supported WooCommerce versions.
= 4.8.0.200127 =
* Improved action `wc_aelia_cs_set_product_price`. It now allows to specify "regular_price" and "sale_price" to set the price in a specific currency for simple products and variations.
* Added new filter `wc_aelia_cs_bulk_edit_price_types_map`.
= 4.7.15.200114 =
* Updated supported WooCommerce versions.
= 4.7.14.191126 =
* Fix - Fixed minor bug that caused the time execution limit to be set to 10 minutes by the setup process, even after the setup was completed.
* Tweak - Improved integration with Turkey Central Bank, to skip invalid rates.
= 4.7.13.191105 =
* Updated supported WooCommerce versions.
= 4.7.12.191014 =
* Fix - Fixed call to filter `widget_title` in widget templates.
* Updated supported WooCommerce versions.
= 4.7.11.190924 =
* Improvement - Improved error checking during conversion of product prices, to detect and avoid invalid products.
* Tweak - Improved script to intercept the currency selection to handle widgets created dynamically, via JavaScript.
= 4.7.10.190830 =
* Updated supported WooCommerce versions.
= 4.7.9.190730 =
* Fix - Fixed condition that could cause regular prices to be overwritten during the scheduled processing of sale prices.
= 4.7.8.190709 =
* Fix - Fixed condition that caused order items to disappear during the creation of a manual order.
= 4.7.7.190706 =
* Fix - Restored original logic to store currency prices against product instances.
* Fix - Added workaround for bug caused by WC 3.6.3+, which caused product prices being overwritten by the "update product stock" function.
* Tweak - Increased number of decimals used to calculate orders' and items' totals in base currency.
* Tweak - Improved shortcode `aelia_cs_product_price`. Added support for sign up fees (subscriptions).
* Tweak - Improved shortcode `aelia_cs_currency_amount`. Added new filter `aelia_cs_pp_shortcode_converted_amount`, to allow 3rd parties to alter the output of the shortcode.
= 4.7.6.190703 =
* Tweak - Added workaround to prevent conflicts with other plugins while returning product prices in currency.
= 4.7.5.190628 =
* Tweak - Changed scope of method `WC_Aelia_CurrencySwitcher::get_currency_by_customer_country()` to "public".
* Tweak - Added check to show errors on the currency selector widget only to shop managers.
= 4.7.4.190619 =
* Fix - Fixed bug of product prices being overwritten by the "update product stock" function in WC 3.6.3 and newer.
* Tweak - Removed obsolete messages from Admin area.
= 4.7.3.190622 =
* Tweak - Removed obsolete admin messages.
* Updated supported WooCommerce versions.
= 4.7.3.190416 =
* Tweak - Optimised logic used to load currency specific prices for products.
* Updated supported WooCommerce versions.
= 4.7.2.190330 =
* Tweak - Added validation of product ID before trying to fetch its currency prices and perform a price conversion.
= 4.7.1.190322 =
* Tweak - Added check on frontend script, to handle the case where the `wc_cart_fragments_params` variable has been removed by disabling WooCommerce's cart fragments.
= 4.7.0.190307 =
* Feature - Implemented Bulk edit for simple and external products.
* Updated supported WooCommerce version.
* Updated supported WordPress version.
= 4.6.10.190301 =
* Updated supported WooCommerce version.
* Updated supported WordPress version.
= 4.6.9.181217 =
* Tweak - Rewritten logic to handle the price filter widget, removing legacy code.
= 4.6.8.181210 =
* Improved compatibility with WooCommerce 3.5.2.
* Updated supported WooCommerce version.
* Updated language files.
= 4.6.7.181124 =
* Fix - Updated "product is on sale" check, to take into account the time zone.
* Updated supported WooCommerce version.
* Updated supported WordPress version.
= 4.6.6.181004 =
* Updated supported WooCommerce versions.
* Fix - Modified currency selector widget to show warning about "force currency by country" option only on the frontend.
= 4.6.5.180828 =
* Feature - Added support for exchange rate markups expressed as a percentage (e.g. "10%").
= 4.6.4.180827 =
* Updated requirements. The plugin now requires Aelia Foundation Classed 2.0.1.180821 or newer.
= 4.6.3.180821 =
* Feature - Added order net total in base currency next to the order total, in Orders List page.
* Tweak - Changed minimum requirements to WooCommerce 2.6
= 4.6.2.180725 =
* Tweak - Implemented "lazy load" of exchange rates provider models. This is to allow 3rd parties to hook into the logic and add their own models.
* Tweak - Removed warnings when the price properties expected by the Currency Switcher are not found.
= 4.6.1.180716 =
* Fix - Fixed bug that caused the exchange rates settings to be lost after removing a currency.
= 4.6.0.180628 =
* Tweak - Implemented workaround to prevent the Memberships plugin from triggering notices during the conversion of product prices.
* Tweak - Added logic to ensure that shipping costs are calculated with the correct amount of decimals, before they are converted.
= 4.5.19.180608 =
* Fix - Set currency for Latvia to EUR.
= 4.5.18.180529 =
* Updated supported WooCommerce version.
= 4.5.18.180417 =
* Fix - Fixed logic used to save the order currency for manual orders.
= 4.5.17.180404 =
* Fix - Fixed display of variation prices on variable product pages.
* Fix - Fixed active currency when saving order meta.
= 4.5.16.180307 =
* Tweak - Removed redundant logger class and optimised logging logic.
* Fix - Fixed name of `