How to make booking buttons member-only on a Memberstack marketplace while maintaining the same page structure? Answered
Hi guys, I am trying to connect memberstack to my current marketplace ( RFLKT.com) and I have a question. Currently you don’t have to be logged in to book a session but I want to change that so you cant book a session without being member. In the example of gated content it always shows the pages in webflow are separate from the website. But being a marketplace I want to use the same page BUT with but links to the button only accessible when someone is logged in. How would I do this ? Thanks in advance.
Comments
6 comments
Hi Praveer,
You can gate content using two ways:
In your case, if you want to show buttons to logged-in members while all the page remains public, you will have to add an attribute to the button or each button that you want to hide
In this documentation are more examples, you could hide it by auth status, by plan, by paid plan, free plan and so
https://docs.memberstack.com/hc/en-us/articles/7403036765339-Show-and-Hide-Individual-Elements-data-ms-content
Hey Praveer Srivastava -- RFLKT looks super interesting. I'm actually building a similar kind of "Expert Network" in another industry. I love this model.
To uplevel customization of permissions based on user type, I've relied on the REST Admin API, which I've found useful and easy to integrate.
https://docs.memberstack.com/hc/en-us/articles/17385829931419-Memberstack-Admin-Package-REST
Let me know if you ever want to connect
The admin package and REST API should be used within a protected environment like a Backend or Wized. Always keep in mind to never expose your secret keys in the frontend, or you could get hacked 💀
Thanks guys, this is very helpful !
yeah I think the first solution is what I need for the moment as its just to hide + show buttons when logged in. But then I will move to wized in the future for the REST API part.
Hello team! How are you doing?
To continue with the service marketplace web app I want to add a function where the user A) (customer) set in the calendar the date and time that want to access the use of the service of User B) (professional).
We have a component that sets that date and time in the professional calendar based on what the customer who wants to purchase the service put?
also automate this via notifications, it would also be good that the reservation is seen so that users know when there is availability.
Greetings!
Hello,
You can try to look for a date time picker component in the Webflow's explore library. But if you don't find any that suits you needs you can default to a default date time input and style it with CSS.
Please sign in to leave a comment.