WOOCS - WooCommerce Currency Switcher

Product Designer for WooCommerce WordPress | LUMISE.COM

The plugin URL: https://codecanyon.net/item/lumise-product-designer-woocommerce-wordpress/21222684

  • In file wp-content\plugins\lumise\lumise.php add next code:
    if (class_exists('WOOCS')) {
        global $WOOCS;
        if ($WOOCS->is_multiple_allowed) {
            $currrent = $WOOCS->current_currency;
            if ($currrent != $WOOCS->default_currency) {
                $currencies = $WOOCS->get_currencies();
                $rate = $currencies[$currrent]['rate'];
                $price = $price / $rate;
            }
        }
    }