WOOCS - WooCommerce Currency Switcher

Woocommerce easy booking system (by @_Ashanna)

Plugin URL: https://wordpress.org/plugins/woocommerce-easy-booking-system/

  1. Find in the file wc-ebs-plugin.php function wc_ebs_new_price_fragment
  2. Insert there next code as on the screen: 
    if(class_exists('WOOCS'))
    {
            global $WOOCS;
            $currencies = $WOOCS->get_currencies();
            $new_price = $new_price * $currencies[$WOOCS->current_currency]['rate'];
            $new_price=number_format ($new_price, 2, $WOOCS->decimal_sep, $WOOCS->thousands_sep);
            $currency=$currencies[$WOOCS->current_currency]['symbol'];
    }