About this block
Your course outline, read from a lessons collection. Lessons with requiredPlans set come back as teasers with locked: true for visitors who don't hold the plan, so the outline stays complete.
When to use it
- On the members area or a public course outline page.
What's inside
- A {% for item in collections.lessons %} loop over the lessons collection (fields: slug, number, title, summary, duration, requiredPlans).
- A padlock and Pro chip on rows where item.locked is true.
- An Open lesson button linking to the lesson page with the row's slug.
How to customize it
- Change the button link to ref:<your lesson page id>/{{item.slug}} so it works in previews and on your domain.
- List the paid fields (the lesson body, worksheet links) in the collection's memberFields so locked rows never carry them.
Questions
- Do locked lessons disappear for non-members?
- No. They stay in the list with their title and summary, marked locked, so visitors see what Pro includes.