• Resolved jurasjo

    (@jurasjo)


    I have purchased LifterLMS WooCommerce and there is something witch is bugging me.

    Without this extension if I had set up “Enrollment Start Date” and “Enrollment Opens Message”.
    Enrollment Opens Message was visible on the course page as a note in the blue frame – works perfect.

    After I have installed LifterLMS WooCommerce and set up everything to sell courses via Wooocommerce there is no that message frame on the course page. No there is only frame witch link/price and “Add to cart” button”.

    Payments go well but I would like to also have that message witch is set up in the “Enrollment Opens Message”.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jurasjo

    (@jurasjo)

    Ok. I have found some solution based on Woocommerce.

    For now I have put hat code to my functions.php:

    	add_filter( 'woocommerce_get_price_html', 'custom_price_html', 100, 2 );
    	function custom_price_html( $price, $product ) {
    	    global $post;
    	    $sales_price_to = get_post_meta($post->ID, '_sale_price_dates_to', true);
    	    if(is_single() && $sales_price_to != "")
    	    {
    	        $sales_price_date_to = date_i18n("j F Y", $sales_price_to);
    
    	        return str_replace( '</ins>', ' </ins> <b> <br>(Oferta wa?na do '.$sales_price_date_to.')</b>', $price );
    	    }
    	    else
    	    {
    	        return apply_filters( 'woocommerce_get_price', $price );
    	    }
    	}

    If there is solution for using Enrollment Opens Message I will be intrested.

    Thread Starter jurasjo

    (@jurasjo)

    It looks like Restrictions setting on the course page doesn’t work with Woocommerce integration plugin.

    @jurasjo,

    Thanks for bringing this to my attention. I’ll get this resolved ASAP.

    Take care,

    Thread Starter jurasjo

    (@jurasjo)

    Any news in this case?

    @jurasjo

    I haven’t forgotten about this but I haven’t resolved yet either.

    Thanks for your patience

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Lifterlms + LifterLMS WooCommerce’ is closed to new replies.