跳过导航

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

留下回复

紧扣主题并尊重他人。如果您需要帮助解决与本帖无关的问题,请使用我们的 Support Forum 开始聊天或提交票据。

您可以使用这些标签:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>