FOX - WooCommerce Currency Switcher Professional

Advanced Product Fields for WooCommerce

Plugin link: https://www.studiowombat.com/plugin/advanced-product-fields-for-woocommerce/

  • In file advanced-product-fields-for-woocommerce-extended\includes\classes\integrations\class-woocs.php add next code:
    if(!$this->is_default_currency() AND !$this->product_has_fixed_price($product) AND 'percent' != $type)

    its will fix the data in the drop-down

  • In the same file find function function add_footer_script and make fix there as on the next screen:

    This is necessary to remove the conversion of the amount as a percentage, because this amount was already calculated from the converted price. Something like this:
  • in file advanced-product-fields-for-woocommerce-extended\includes\classes\integrations\class-woocs.php add next code:
    if('percent' == $type || 'p' ==$type ) return $amount;