Conditionally show content to specific Lemon Squeezy plans
How to conditionally display content on your Framer website depending on which plan someone has purchased through Lemon Squeezy
In this tutorial, I'll demonstrate how to dynamically display selected content to users on your Framer website who have purchased select product variants through Lemon Squeezy. This will allow you to display certain content only to users who have purchased the variant you specify.
Add the code snippet to the bottom of your FramerAuth override file
Retrieve your Lemon Squeezy product ID
Go to Products in your Lemon Squeezy dashboard
Select the product that is connected to your FramerAuth account
Click on the variant you wish to use
Copy the string of numbers at the end of the URL - this is your variant ID
Add product details to override file
Rename the override to help identify which plan it correlates to
Paste variant ID from step 2 where it says
Enter your Lemon Squeezy Product Variant Id
Repeat steps for all plans
For all of your product's plans repeat these steps.
Apply overrides to desired content in Framer
Once you've created the different overrides for your various plans in Lemon Squeezy, you can then apply the overrides to the frames / content that you would like to be displayed only to users who have purchased that tier.