WPML

Overview of the Issue

The path of a downloadable product is always synchronized between original and translation.

Workaround

This issue is fixed in WooCommerce Multilingual 3.8.0. Updating solves it on your site, so you only need this workaround if you can’t update yet.

In wp-content/plugins/woocommerce-multilingual/inc/products.class.php
On line 906, you need to change:

PHP
if( in_array( $key ,array( '_file_paths', '_downloadable_files' )) || ( isset($settings['translation-management']['custom_fields_translation'][$key]) && $settings['translation-management']['custom_fields_translation'][$key] == 1 ) ){

to:

PHP
if( ( $woocommerce_wpml->settings['file_path_sync']  && in_array( $key ,array( '_file_paths', '_downloadable_files' ) ) ) || ( isset($settings['translation-management']['custom_fields_translation'][$key]) && $settings['translation-management']['custom_fields_translation'][$key] == 1 ) ){

Or apply this patch on that same file mentioned above: 5cfd9c862c0da207262c5da49d6608f7ae1d25d0.patch

All known issues

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.