WOOCS - WooCommerce Currency Switcher

LearnPress – WordPress LMS Plugin

Plugin URL: https://wordpress.org/plugins/learnpress/

  • In  file wp-content\plugins\learnpress-woo-payment\incs\class-wc-product-lp-course.php change next code:
    $price = ($course) ? $course->get_price() : 0;
    if ($price) {
        if (class_exists('WOOCS')) {
            global $WOOCS;
            if ($WOOCS->is_multiple_allowed) {
                $price = $WOOCS->woocs_exchange_value(floatval($price));
            }
        }
    }
    return $price;