Users Groups x Products Groups

Discussion in 'Customization & add-ons' started by cebasso, Jun 10, 2015.

  1. cebasso

    cebasso New Member

    Joined:
    Jun 7, 2015
    Messages:
    4
    Hello,

    I need something that should be simple, but due to incredible struct of aMember, i have no idea in how to implement it...

    It's seems simple, example

    If the current user has any groups he only will see products that has the same group name

    Example

    [Users]
    User: Josh
    Group: G1, G2

    User: John
    Group: G1, G3

    -------
    [Products]
    Product: Prod1
    Group: G2

    Product: Prod2
    Group: G3

    Product: Prod3
    Group: G1

    Product: Prod4
    Group: G1, G2

    ------------

    So if the current user is Josh, he will see the products:
    Prod1, Prod3, Prod4 but not Prod2 because the user hasn't the group G3

    If the current user is John, of course he will see the products
    Prod2, Prod3, Prod4

    What's the best method to do this? or better... in the file where the products is listed... just appear $product... but where this var came from?
    Last edited: Jun 10, 2015
  2. cebasso

    cebasso New Member

    Joined:
    Jun 7, 2015
    Messages:
    4
    someone can do a plugin for this? estimated cost?

    I mean, User Groups x Products Categories not product groups...
    Last edited: Jun 10, 2015
  3. follow99

    follow99 New Member

    Joined:
    Jul 7, 2017
    Messages:
    2
    Sorry to resume this old post, have you solved this problem?

Share This Page