Posts

WooCommerce Currency Switcher 3.6.14.140122

Currency Switcher for WooCommerce – What’s new

Currency Switcher for WooCommerce has been updated to version 3.6.14.140122. This update brings the following improvements and fixes:

  • Fixed bug in loading of product pricing metadata, introduced by an incorrect patch in version 3.6.13.140122. The bug caused some product prices to be displayed as “Free” even when they actually had a price set.
    Irony: the code that caused the bug was written by our experienced founder, who made a very “junior” mistake this time. Working too much is not good for you!
  • Fixed conflict with our Subscriptions Integration plugin. The conflict caused a notice message to be displayed on Subscription products, and could cause a “chain reaction” of messages that could lead to a fatal error.
  • Added new wc_aelia_currencyswitcher_prices_type_field_map filter.

How to get latest version

New customers

Simply place your order and you will get the latest version.

Existing customers

You should be able to download the updated file using the link you received with your order. If the link doesn’t work, please contact Support to receive the latest version. Thanks.

Important update – WooCommerce Currency Switcher 3.6.12.140121

Currency Switcher for WooCommerce – What’s new

Currency Switcher for WooCommerce has been updated to version 3.6.12.140121. This update brings the following improvements and fixes:

  • Removed Product Base Currency feature from variable products. It was a difficult decision, but we had to disable such feature, that we recently introduced, because we discovered some limitations in WooCommerce architecture that prevented it from working correctly when used on variable products. We tried to rewrite the new feature several times, taking different approaches, but the result was always an overly complicated hack that caused performance issues. Because of that, our only option was to temporarily disable the Product Base Currency on variable products, and leave it only for simple products.We will now contact the WooCommerce Team to suggest some ways to improve the ecommerce core, so that we can enable the feature again in a future release. If you would like to have more details about the issue and the reasons behind our decision, please feel free to contact us.
  • Fixed bug related to the integration with Prices by Country plugin. The bug caused the prices specified for a region to be discarded and overwritten by the base ones in some circumstances.
  • Added Yahoo! Finance to the available providers of exchange rates.
  • Improved admin UI. The message stating importance of entering proper exchange rates is now more prominent.

How to get latest version

New customers

Simply place your order and you will get the latest version.

Existing customers

You should be able to download the updated file using the link you received with your order. If the link doesn’t work, please contact Support to receive the latest version. Thanks.

news icon

Important – Bug in the “product base currency” feature (variable products only)

Following a report from one of our customers, we reviewed the product base currency feature that we introduced recently, and we discovered that it may not always work for variable products.

Issue description

The new feature allows to set the base currency for simple products and product variations, and enter their prices in such currency. All the prices in other currencies, if left empty, are calculated automatically. This new logic, which works correctly in all cases with simple products, fails if variation prices in base currency are left empty (see screenshot below). This is due to how WooCommerce loads the variations, and it results in variation prices to be displayed as zero.

Product Base Currency Feature - Variations Bug

 

Why does that happen?

We tested the new conversion, using product base currency, in multiple scenario, and it works consistently. However, there is a limitation in WooCommerce architecture that doesn’t allow the dynamically calculated prices to be used when determining the price of a variable product.

Technical details

The Currency Switcher converts all product prices dynamically in the appropriate currency as soon as they are loaded. The variation base prices, even if left empty, are populated on the fly. However, some parts of WooCommerce ignore these new prices and load the “raw” ones directly from the database, bypassing our currency conversion mechanism entirely.

Let’s take a variation configured with USD as the base currency, a base price of 100 USD and its “standard” base prices, in EUR, left empty. When the variation is loaded and EUR is the active currency, the Currency Switcher replaces the variation price with 86.65 EUR. This is the correct behaviour, and it works almost everywhere, except in some (unfortunately, critical) cases in which WooCommerce will just load the variation base prices directly from the database, thus loading “blank” and considering the variation “not priced“.

What’s the solution?

We are still working to fix the issue and we will release an update as soon as possible. In the meantime, a workaround is to ensure that variation prices in WooCommerce base currency are always populated. We are aware that this defeats the purpose of the product base currency feature, therefore we are giving this fix the highest priority.

Should you need further information or assistance, please feel free to contact us using our dedicated support portal. Thanks for your patience, and apologies for any inconvenience caused.

The Aelia Team

 

Important update – WooCommerce Currency Switcher 3.6.6.140113

Currency Switcher for WooCommerce – What’s new

Currency Switcher for WooCommerce has been updated to version 3.6.6.140113. This update brings the following improvements and fixes:

  • Fixed bug in currency selection. The bug caused the currency selection to be ignored until the page was refreshed. This bug
  • Fixed bug in handling of incorrectly configured product prices. The bug occurred when a product base currency was set, but the corresponding prices were left empty (e.g. when a product base currency was set to EUR, and the EUR prices were left empty). The bug caused the product price conversion to fail, showing the products with the same price regardless of the active currency.

How to get latest version

New customers

Simply place your order and you will get the latest version.

Existing customers

You should be able to download the updated file using the link you received with your order. If the link doesn’t work, please contact Support to receive the latest version. Thanks.

Prices by Country for WooCommerce updated to version 1.3.3.150108

Prices by Country for WooCommerce – What’s new

Prices by Country for WooCommerce has been updated to version 1.3.3.150108. This update brings the following improvements and fixes:

  • Improved Administration user interface
    • Ensured that region names are always populated. Required fields can no longer be left empty.
    • Added logic to remove invalid regions (i.e. the ones without a name or a list of countries).
  • Improved fault tolerance. The plugin now handles the case in which the wc_aelia_cs_enabled_currencies filter returns an invalid list of enabled currencies. This should never occur, unless an old version of the Currency Switcher is running. Please refer to the latest Currency Switcher update for more details.

How to get latest version

New customers

Simply place your order and you will get the latest version.

Existing customers

You should be able to download the updated file using the link you received with your order. If the link doesn’t work, please contact Support to receive the latest version. Thanks.

Currency Switcher for WooCommerce updated to version 3.6.5.140108

Currency Switcher for WooCommerce – What’s new

Currency Switcher for WooCommerce has been updated to version 3.6.5.140108. This update brings the following improvements and fixes:

  • Fixed bug that caused list of enabled currencies to be returned empty. The bug was caused by the Currency Switcher being activated, but not yet configured, and it made the plugin return an empty list when queried about the enabled currencies. This bug was almost harmless, but it tricked the Prices by Country plugin into thinking that no currencies were enabled, thus preventing it from showing the regional prices for the products. We recommend to update both the Currency Switcher and the Prices by Country plugins to make sure that they will work together smoothly.

How to get latest version

New customers

Simply place your order and you will get the latest version.

Existing customers

You should be able to download the updated file using the link you received with your order. If the link doesn’t work, please contact Support to receive the latest version. Thanks.