WPML
Status
Resolved
Resolved in
WPML Multilingual & Multicurrency for WooCommerce 5.5.3
Topic tags
WCML

Overview of the issue

If you have a variable product whose regular price is 0 (zero), when you translate the product the translated variations will be missing a value for the price, and WooCommerce will interpret this to mean the products are out of stock, even when not managing stock.

Workaround

Until the fix is released you can edit the file plugins/woocommerce-multilingual/classes/Synchronization/Component/VariationMeta.php and locate these lines from line 53 onwards:

			$metaValue = reset( $meta );
			if ( ! $metaValue ) {
				$metaValue = '';
			}

Modify the if condition like so:

			$metaValue = reset( $meta );
			if ( ! $metaValue && $metaValue != 0 ) {
				$metaValue = '';
			}

All known issues →