- 상태
- 해결됨
- 보고된 제품
- WPML Multilingual & Multicurrency for WooCommerce 4.10.4
- 해결된 버전
- 4.12.0
문제 개요
WooCommerce Bundled Products 플러그인을 사용하여 묶음 상품이 포함된 수동 주문을 생성하는 경우, 묶음에 포함된 상품의 가격은 실제 상품 가격이며 묶음 상품의 가격에 추가됩니다.
임시 해결 방법
개발팀에서 이 문제를 수정 중입니다. 그동안 다음을 수행하세요:
- 사이트를 전체 백업하세요.
- wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-orders.php 파일을 편집하세요.
- 337번째 줄을 찾으세요.
- 다음 부분을:
foreach ( array_keys( $converted_totals ) as $key ) { if ( 'total' === $key && $item->get_total() !== $item->get_subtotal() ) { - 다음과 같이 바꾸세요:
foreach ( array_keys( $converted_totals ) as $key ) { if ( ! $item->get_total() ) { continue; } if ( 'total' === $key && $item->get_total() !== $item->get_subtotal() ) {