跳过导航

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>