WOOCS - WooCommerce Currency Switcher

Themify – WooCommerce Product Filter

Plugin URL: https://wordpress.org/plugins/themify-wc-product-filter/

  • In  file wp-content\plugins\themify-wc-product-filter\public\js\wpf-public.js change next code:
    $label_min.text( Math.ceil(ui.values[ 0 ] * parseFloat(woocs_current_currency.rate)) );
    $label_max.text( Math.ceil(ui.values[ 1 ] * parseFloat(woocs_current_currency.rate)));

  • in file wp-content\plugins\themify-wc-product-filter\includes\class-wpf-form.php change next code:
    //convert
    $from_label = empty($from) ? $min : $from;
    $to_label = empty($to) ? $max : $to;
    
    if (class_exists('WOOCS')) {
        global $WOOCS;
        $from_label = floor($WOOCS->woocs_exchange_value($from_label));
        $to_label = ceil($WOOCS->woocs_exchange_value($to_label));
    }

  • In  file  wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php change  this  code:
    echo "<script>";
    echo $this->init_js_properties();
    echo "</script>";