{{#has visibility="paid"}} for specific tiers?

In my content-cta.hbs file I am using {{#has visibility=“paid”}} to display a message for non-members incl. a signup button.

While {{#has visibility=“paid”}} worked for “all paid users”, I have difficulties filtering this content by specific tiers.

Also, a general filter {{#has visibility=“filter”}} did not work so far.

What is the best way to filter by a specific tier only?

The visibility in that case should be tiers so you can check it like this:

{{#has visibility="tiers"}}{{/has}}

To check for a specific tier, you can use the match helper (assuming you use one tier):

{{#has visibility="tiers"}}
    {{#match tiers.[0].name "Premium"}}


Change Premium to your actual tier name.