I am creating a website that offers sporting bet tips, however i have different levels of members who i want to only be able to access certain content based on the membership they have. I know you can stop certain members viewing pages, however I want everyone to be able to access each page but to only be able to view specific elements.
For example, if someone with the cheapest membership views my football betting page, i want some of the elements to be blurred out so they can't see them unless they upgrade to a better package.
First of all is this possible and if so how? I am learning all the time but this is confusing me.
Hi Massa, i get this warning over the await comand :Parsing error: Can not use keyword 'await' outside an async function. can you let me know?
Hello
you can do that by checking the users role or id on page load and add if statement to show and hide based of the member.
check this documentation: https://www.wix.com/code/reference/wix-router.WixRouterUser.html#
Best
Massa