ข้ามการนำทาง

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

ทิ้งคำตอบไว้

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

คุณสามารถใช้แท็กเหล่านี้:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>