How to Restrict Access to Dynamic Pages Based on User Subscriptions on a Travel Site

Question:
Hello community,
I just created a travel site. I have a CMS that allows me to group trips by country. Everything works perfectly well. However, I have just put a subscription system that allows access to all countries or to buy a specific country. So I wanted to know if it is possible to put restrictions on my dynamic pages depending on the member’s subscription? On a static page it is very simple but not dynamic pages.

Product:
CMS (dynamic pages) & subscription

What kind of ‘restriction’ are you looking for?
Do you want to simply filter a repeater to show only trips of a certain country?

You would have to create code to see who is logged in, get their subscriptions and then “do something “ (like collapse the sections and display a message, trigger open a lightbox that prompts them to pay for access, navigate to another page, etc etc etc)

https://dev.wix.com/docs/velo/api-reference/wix-pricing-plans-backend/orders/get-current-member-order