WordPress.org

Ready to get started?Download WordPress

Forums

Groups
[resolved] Hide publics posts from groups (9 posts)

  1. CAstijnen
    Member
    Posted 1 year ago #

    I am using groups with woocommerce.

    I created a group which for restricted products. But I also want to hide all the public products to that group. In my current situation the group gets to see the restricted products and the public products which are also shown to users who are not logged in. And what I want is that when a user of a group logs in he only gets to see the restricted products and not all the other products.

    Is there a way to do this?!

    thanks!

    http://wordpress.org/extend/plugins/groups/

  2. CAstijnen
    Member
    Posted 1 year ago #

    In other words, is it possible to create a group for users that aren't logged in?!

  3. J
    Member
    Posted 1 year ago #

    Came to ask the same question.

  4. J
    Member
    Posted 1 year ago #

    Not sure but the solution might be using the groups_none_member shortcode.

    read this answer and see if a variation of it applies to you.

    I've used it like this and it seems to work:

    [groups_member group="1, 2, 3"]

    Message members will see

    [/groups_member]

    [groups_non_member group="1, 2, 3"]

    message non members will see

    [/groups_non_member]

  5. CAstijnen
    Member
    Posted 1 year ago #

    Thanks for your reply. This does not solve my problem. This will only hide the product description but not the product it self in product lists like it does when I use the Access restriction plugin.

    I seems like I need to look out for another solution for this problem..

  6. cliang6817
    Member
    Posted 1 year ago #

    i have the same proglem. have you figure out yet?

  7. CAstijnen
    Member
    Posted 1 year ago #

    Nope I created a seperate wordpress install with a copy of the webshop and made the entire website login only. In this way I could offer two different catalogs..

  8. itthinx
    Member
    Plugin Author

    Posted 1 year ago #

    The only sensible way that I think would provide this kind of functionality would be to have access restrictions based on not having a capability ... but the notion of hiding something public isn't quite sound as a concept. @CAstijnen's solution to split this into two different sites is probably more in line with the respective use case.

  9. cliang6817
    Member
    Posted 1 year ago #

    So is that means the user have to register two different account to login? Is anyway, you can just register one account and login both site?
    thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.