About this block
The signed-in member is customer.me | first. member.plans['pro'] is true when they hold the plan whose id is pro, and member.planDays['pro'] is how many days they have held it, which drives the drip. Everything is decided before the page is sent, so locked content is never in the HTML a visitor without the plan receives.
How to customize it
- Replace pro with your plan's id (the one set in Members, plans) in all three places it appears.
- customer.signed_in separates a member on another plan from a visitor who is not signed in.
- For a whole page rather than one section, give the page an access condition in Page settings instead, with a fail action that redirects to your account page.
- Pages that read customer are rendered per visitor, so they are not served from the shared cache.