WPML

문제 개요

다운로드 가능한 제품의 경로는 원본과 번역 간에 항상 동기화됩니다.

임시 해결 방법

이 문제는 WooCommerce Multilingual 3.8.0에서 해결되었습니다. 업데이트하면 사이트에서 문제가 해결되므로, 아직 업데이트할 수 없는 경우에만 이 임시 해결 방법이 필요합니다.

wp-content/plugins/woocommerce-multilingual/inc/products.class.php에서
906번째 줄의 다음 내용을:

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 ) ){

다음과 같이 변경해야 합니다.

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 ) ){

또는 위에서 언급한 동일한 파일에 다음 패치를 적용하세요: 5cfd9c862c0da207262c5da49d6608f7ae1d25d0.patch

모든 알려진 문제

여전히 이 문제가 발생합니까?

업데이트해도 문제가 해결되지 않으면 지원 문의를 하세요. 함께 살펴보겠습니다.