We have a post that has its visibility set to two specific paid tiers (“News +” and “News Pro” tiers. In the theme we have this template code to list the tiers required for access:
{{#has visibility="tiers"}}
{{t "This post is for subscribers on the "}}
{{tiers}}
{{/has}}
However, what displays is “This post is for subscribers on the Free, News + and News Pro tiers”. Why is our “Free” tier included in the list even though it isn’t selected as one of the tiers with access to the post?
We are on the latest version of Ghost Pro, v5.79.6, using a custom theme based on the Tripoli premium theme. Our upgrade.hbs template looks very similar to the core helper template you referenced. In our theme’s page.hbs and post.hbs it’s included like this:
{{#unless access}}
{{> upgrade }}
{{/unless}}
I’m wondering if maybe our “Free” tier isn’t set up correctly that’s making it show up all the time? We didn’t set anything up ourselves originally - we’re just taking over maintenance of the site this year.
I have a copy of Tripoli (from a month or two back) handy, and tried it. I saw the same problem. It shows Free and Paid Tier for me also, so I don’t think it’s something you did @sitdev .
Whoa, hang on…
I can replicate the problem on Ghost 5.80. I do not see the problem on my Ghost Pro site that’s still on 5.79 today. Let me flip the 5.80 site over to Source for a second and see if that changes the situation…
OK, it’s a 5.80 problem. Hey @RyanF and @Kevin ? You may want a good hard look at the behavior of the tiers helper. These are posts set to a specific tier access only. Here’s 5.80 (running Source latest)