Make membership level pre selected on course page

Please add this code in your child theme functions.php or in your wp-content/plugins/wplms-customizer/wplms-customizer.php file:

add_action('wp_footer','select_memebership_on_load',100);
function select_memebership_on_load(){
    if(is_singular('course')){
       echo '<script>jQuery(document).ready(function(){ jQuery("ul.pricing_course li:nth-child(2)").trigger("click"); jQuery("ul.pricing_course").removeClass("active");});</script>';
    }
}