WPML
Status
Open
Reported for
WPML Multilingual & Multicurrency for WooCommerce 5.3.9
Topic tags
Compatibility, WCML

Overview of the issue

When using the “Show only products with custom prices” option in WooCommerce Multicurrency, the currency switcher is not displayed correctly for Grouped Products if all child products do not have custom prices. This behavior occurs on both single product pages and archive pages.

This issue affects the functionality for Grouped Products and their children in the following scenarios:

  • Single Product Pages: Currency switcher is hidden even when some child products have custom prices.
  • Archive Pages: Grouped Products may not appear based on the custom price settings of their child products.

Workaround

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

Single Product Pages


  • Open …/wp-content/plugins/woocommerce-multilingual/inc/currencies/currency-switcher/class-wcml-currency-switcher.php file.

  • Replace its content for the one on this link.

Archive Pages


  • Open …/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-custom-prices.php file.

  • Replace its content for the one on this link.

All known issues →