FOX - Conmutador de moneda WooCommerce profesional

Themify - Filtro de producto de WooCommerce

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

  • En archivo wp-content \ plugins \ themify-wc-product-filter \ public \ js \ wpf-public.js cambiar el siguiente código:
    $ 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)));

  • en archivo wp-content \ plugins \ themify-wc-product-filter \ includes \ class-wpf-form.php cambiar el siguiente código:
    // convertir $ from_label = empty ($ from)? $ min: $ desde; $ to_label = vacío ($ to)? $ max: $ to; if (class_exists ('WOOCS')) {global $ WOOCS; $ from_label = piso ($ WOOCS-> woocs_exchange_value ($ from_label)); $ to_label = ceil ($ WOOCS-> woocs_exchange_value ($ to_label)); }

  • En archivo  wp-content \ plugins \ woocommerce-currency-switcher \ classes \ woocs.php cambiar este código:
    eco " ";
    echo $this->init_js_properties();
    echo " ";