How to show different content to users based on their specific Memberstack plan instead of just any paid plan?

Post author
T.J. H

Racking my brain a bit on how to get this to work.

A client want's to sell downloadable PDF's on their site (and eventually monthly subscriptions), so I thought Memberstack would be a decent option setting up one-time payment plans for those.

We have individual sales pages (from a Webflow CMS Collection) for each PDF where the user can signup & purchase those.

After purchasing, the workflow in my head went something like >> All "Purchase" buttons get hidden, "Download" buttons show using gated content/elements.

Is it possible to hide content from paid users depending on what plan they've purchased? This article goes fairly in-depth on showing & hiding content, but it seems like I'm unable to control the content visibility on the individual plan level, and I can only hide or show content based on the boolean: is the user on any paid plan or no?

From the article:

6) Show content if logged in with paid plan(s) data-ms-content="paid-plans" → This content is visible when a member with a paid plan logs in… and hides if they log out or leave their paid plan.

This data attribute works with any Memberstack project. Add a "!" to reverse its functionality.

Comments

2 comments

  • Comment author
    Memberstack Team
    • Edited
    • Official comment

    The script #188 is exactly what you need here. Instead of relying on the default data-ms-content="paid-plans" attribute (which only checks if a member has any paid plan), this script lets you dynamically show or hide elements based on the specific plan tier a member is subscribed to.

    It’s a more relevant solution because it gives you fine‑grained control at the individual plan level, rather than just a paid vs. free toggle. This way, your workflow for selling one‑time PDFs and future subscriptions becomes much cleaner and scalable.

  • Comment author
    A J

    Hey T.J. H, have you tried this out where you create gated content for specific plans and then use that attribute to show / hide content based on the plan the logged in user has access to?

    1

Please sign in to leave a comment.