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

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>