Is it possible to limit access to certain pages for member users of my website? I have content that needs to be bought before they can view it and I want to make sure that only members that have purchased the content can see it. (And prevent another member being able to view the content just by getting a link).
I've looked over wix-user-api and hooks information, but I've found it extremely difficult to understand in context with what I want to achieve.
There may be a way to do this by using databases, but I'm completely lost on how I would go about doing that. Adding a specific permission field might work, but how would I make it so that the database page blocks out anyone without that field?
I apologize if this is a little confusing, and appreciate any help! Thank you!