Coding Page Permissions

is there a way to code page permissions? for example, can I tell a page not to allows access unless a logged in user has purchased a specific item in the wix store (or any other user specific event)

I’m trying to think of a way to build a paid subscription site. is there a way to do this other than manually accepting users that have paid through a third party?

Hi,
I’m afraid that currently there’s no integration of Wix Code with Wix Stores. There’s the Wix Users API but you cannot check whether a user has purchased an item or not.

Tal

Thank you Tal. My question is not so much about the store as whether or not you can code page permissions.

Hey,
Yes you can. I recommend checking out this article which can be useful. Note that you don’t have to code the permissions, it depends what’s the use case. You can also change the page permissions using the editor .

Best,
Tal.