How to Dynamically Display Upgrade Buttons Based on their current membership plan? Answered
Hi, who can help me show upgrade buttons based on a member's Price_ID? I use 3 plans (Basic, Pro, Expert) each with 2 recurring prices (monthly, annual). When offering upgrades, I want to show the right buttons ("Upgrade", "Switch to annual", "Your current plan" etc.). The most convenient way would be to display content based on a member's Price ID. Who would be able to help me on this in your team? Thank you. You are doing a great job by the way. 👍
Comments
2 comments
Hi Phillipp,
The code below would be helpful if you want to achieve that.
Feel free to modify it to suit your needs.
Do not hesitate to reach if you need help with anything.
Thank you, I made it work with your base code and some ChatGPT customizations!
Please sign in to leave a comment.