Home Support Extensions Memberships How to restrict vendor details display for not logged in users?

How to restrict vendor details display for not logged in users?

  • Author
    Posts
  • tb@tomaszbialek.pl

    Hello,

    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?

    TB

    ihor developer

    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.

    tb@tomaszbialek.pl

    ok,

    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.

    tb@tomaszbialek.pl

    second question,

    does REVEAL option work for VENDOR attributes?

    ihor developer

    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.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.