WPML

문제 개요

WooCommerce Subscriptions용 Woo All Products For Subscriptions 애드온을 사용하는 경우, 다중 통화 설정이 사용자 정의 구독 플랜에 적용되지 않는 것을 확인할 수 있습니다.

임시 해결 방법

진행하기 전에 전체 사이트 백업을 완료했는지 확인하세요.

  • …/wp-content/plugins/woocommerce-all-products-for-subscriptions/includes/product/class-wcs-att-product-prices.php 파일을 편집하세요.
  • 528번 줄을 찾으세요.
  • 다음 부분을:
    $price             = $overridden_prices[ $price_prop ];
  • 다음으로 교체하세요:
    $price             = $overridden_prices[ $price_prop ];
    $currency = apply_filters('wcml_price_currency', NULL );
    $price = apply_filters('wcml_raw_price_amount', $price, $currency);

모든 알려진 문제