CMS collection - Partial unblocking of premium contents Answered
Hey everyone…trying to solve one big problem here…we have a big cms collection with “trends”. Before a user is signed in, we want to show roughly 30% of the trends as “premium” trends and obviously once someone is logged in as a paying user, we want the premium trends to be “unblocked”
The only solution I can think of would be to have two pages, one called “website.com/trends” and another called “website.com/trends-pro” and the only difference between the two pages is that the “/trends-pro” page doesn’t hide the names of the premium trends.
IDEALLY, THOUGH, we just have one page, and we have a way of unblocking the premium trends in the collection list if a user is logged in…how might we do that?
Comments
5 comments
Hello Oliver Cordingley and Oliver you could also add the content id’s directly to the itself.
You won’t need the boolean for paid, because there’s an attribute specifically for data-ms-content=“paid-plans” , you can also sort it by content as well
There’s also other options on the article I’ve just linked above. I’ve just attached a screenshot of a snapshot of the available ones. Hopefully that helps you get started 😀
Hey Eric, i recently made a job board, plus a dashboard for brand and creator with different plans. So with Memberstack you can tag content and show them only to the user with the matching plan
I have a similar situation with my site. I put a Boolean on each cms item - paid? True / falsez
Then I put the content on a cms page and hide them conditionally based on the attribute for pro member logged in + the Boolean for paid.
Oliver Cordingley great option too, but if you check every item for a boolean, does this slowing down the page?
Oliver that’s also an idea - we have that on our content pages with layered content (free for visitors, and then the other half is covered by a “popup”
Please sign in to leave a comment.