Home › Support › Extensions › Memberships › How to restrict vendor details display for not logged in users?
I’d like to have many vendors with details like business nam, email or phone number, but these contact details would only by visible to LOGGED in users.
Viewing page as a guest (not logged in) would not show these details.
Does membership extension allow this to setup?
Yes, you can try using Memberships with this code snippet https://hivepress.io/support/topic/question-about-membership-extension-hiding-attributes/#post-5028 Then only logged-in users will see the restricted attributes.
is there a way to display a Message in the Vendors details for not logged in users like:
“To see contact details please log in”
It would not display when user is logged in and all vendor details are visible.
does REVEAL option work for VENDOR attributes?
1. There may be a workaround, e.g. you can rename “Reveal” to “Log in to view”.
2. Yes, it also works for vendor attributes.
You must be logged in to reply to this topic.