ナビゲーションをスキップ

Open

Reported for: WooCommerce Multilingual & Multicurrency 5.3.7

Topic Tags: Compatibility, WCML

Overview of the issue

If you are using Woo All Products For Subscriptions addon for WooCommerce Subscriptions, you will encounter that the multicurrency settings do not apply to custom subscription plans.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Edit …/wp-content/plugins/woocommerce-all-products-for-subscriptions/includes/product/class-wcs-att-product-prices.php file.
  • Look for line 528.
  • Replace:
    					$price             = $overridden_prices[ $price_prop ];
    
  • With:
    					$price             = $overridden_prices[ $price_prop ];
    					$currency = apply_filters('wcml_price_currency', NULL );
    					$price = apply_filters('wcml_raw_price_amount', $price, $currency);
    

返信を残す

トピックに関連した内容を心がけ、他の人に敬意を払ってください。この投稿に関連しない問題についてサポートが必要な場合は、サポートフォーラムを使用してチャットを開始するかチケットを提出してください。

これらのタグを使用できます:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>