I’m having trouble with
I want to programmatically remove “Registration” portion from the event details page
Working in
e.g. Wix Studio, Velo
What I’m trying to do
I have two types of users. Let’s call them free and paid. I have some events that are open to everybody and some that are only open to paid members. I can figure out which user is which. On the event list page I can disable the link to the event details. However, if the user has a direct link to the event details page, I would prefer to show event description but not allow registration. I can hide the whole event $w(‘event1’).collapse() but not just the registration portion.
What I’ve tried so far
I can see the selector for the div that I want to access - tickets-picker. It even has data-hook attribute (whatever it means). Can I hide or disable that div? Something like $(“.tickets-picker”).setStyle(“display:none”)
