• Resolved jurasjo

    (@jurasjo)


    How to remove Free stamp(on the course page in Enrollment frame) when course is marked Free but It needs paid Membership for access?

Viewing 7 replies - 1 through 7 (of 7 total)
  • @jurasjo,

    This isn’t something that’s been brought to my attention. I’ve recorded the issue as a bug at https://github.com/gocodebox/lifterlms/issues/253 and will get a resolution out as soon as possible.

    Take care,

    Thread Starter jurasjo

    (@jurasjo)

    For clarity:

    I have tried to set price to “0” but “free..” was checked automatically and that “FREE” sign showed.

    @jurasjo,

    Please send screenshot or link, I’m not following you now.

    Thanks,

    Thread Starter jurasjo

    (@jurasjo)

    I made this not clear maybe.

    Added access plan. Added 3 Memberships to that plan (they have set different prices).

    I wanted to set access plan price to “0” but I couldn’t save because of missing price notice.

    So I have checked this check-box “Is Free” and after saving there is this <span class="lifterlms-price">FREE</span> on the course page in Enrollment frame.

    I assume that You are saying me that there should be a possibility to have price “0” without “Is Free” checked?

    @jurasjo,

    We’re talking about separate issues here.

    If a course is marked as free is should be displaying as free. And no, access plans should not be able to be saved with $0 price, that’s what the “Free” checkbox is for. There are some programmatic reasons why we’re doing it this way.

    If you want to hide or change the free text the only thing you could do would be filter the content:

    
    add_filter( 'llms_get_free_access_plan_pricing_text', function( $text ) {
    
       if ( ! is_numeric( $text ) ) { // only modify when the HTML is dipslaying
            $text = ''; // this will return nothing so the "FREE" text won't display
       }
       return $text;
    
    }, 10, 1 );
    

    Hope that helps

    Thread Starter jurasjo

    (@jurasjo)

    Thanks for that code.

    Maybe You could also make similar code for FREE on the lesson list (when lesson is free)?

    @jurasjo,

    Use CSS to hide the “free” stamp on the lesson list:

    .llms-icon-free { display: none; }

    Best I can do for you on that one,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Free stamp’ is closed to new replies.