WPML
Status
Resolved
Reported for
WPML Multilingual & Multicurrency for WooCommerce 5.3.6
Resolved in
WooCommerce Multilingual & Multicurrency 5.5.0
Topic tags
Bug, WCML

Overview of the issue

When utilizing the wcml_price_currency filter, you will encounter that it returns NULL when trying to display prices in the site’s default currency.

Workaround

Please, make sure of having a full site backup of your site before proceeding.


  • Instead of using:
    apply_filters('wcml_price_currency', NULL );


  • Use:
    apply_filters('wcml_price_currency', get_woocommerce_currency() );

All known issues →