How to show spcific elements based on specific Tier members?

I am working on a project. I want to add PDF download buttons for a specific tier on the homepage.

I got only a solution for showing content for paid members. Like this:

{{#if @member.paid}}
This is for paid members

How can I show content for “Gold” or “Platinum” members?

Best Regards

Something like this:

{{#match @member.subscriptions.[0] "=" "Silver Membership"}}
{{> silver}}

Although you’ll want to watch out - a member can get into a state where they have multiple subscriptions, for example, if they switch plans.


This is working. Thank you

1 Like