Skip to main content

How to conditionally display content based on monthly vs yearly pricing in MemberStack without creating separate plans?

Are there any attributes that allow us to show/hide content based on the user's price point of a plan? I see we can apply data-ms-content, and the CONTENT-ID but that goes for the entire plan with all pricing tiers included. I need to be able to show specific content based on if the user has a monthly plan or a yearly plan. Any way to accomplish this (without making two entirely different plans)?

4 comments

  • Memberstack Team
    Memberstack Team Official comment Edited

    If you're trying to show/hide content based on whether a member is on a monthly or yearly plan (without splitting them into separate plans), MemberScript #188 might be exactly what you need.

    It lets you conditionally display content based on the member’s current plan ID and billing interval. So instead of relying on data-ms-content, you can use custom logic to check if the billing interval is "month" or "year" and show content accordingly.

    This way, you keep your single plan structure and still tailor the experience based on how they pay.

  • Tyler Bell
    Tyler Bell

    This is a great question! One that I'm not sure we've thought about before 🤔

    Julian Galluzzo do you have any ideas here?

    0
  • Julian Galluzzo
    Julian Galluzzo

    Oooooh!! This is a good idea for sure - I assume it could be done on a basic level with just some custom code, but things like monthly/yearly/one-offs would have to be taken into account

    0
  • Nikol' Moira
    Nikol' Moira OP

    Would be awesome for LTVs and incentivizing larger purchases at checkout. For now, I may have to do this manually if I can't accomplish via Stripe > MS on Zapier.

    0

Please sign in to leave a comment.

Sitemap