Okay
  Public Ticket #4147766
Setup
Closed

Comments

  •  1
    Stephan Brey started the conversation

    Subject: Assistance Needed: Correct Setup for Product Visibility by Group

    Hello B2B King Team,

    I need your help because I’m still struggling to correctly configure product visibility for user groups.

    My goal is:

    • When a registered user is manually approved by us and assigned to a specific new group (e.g., “F2F”), they should have access to all products.

    • Certain products should not be visible to other groups, like “Guest” or “B2B”.

    So in short:

    • Group “F2F” → should see all products.

    • Group “Guest” and “B2B” → should NOT see specific products.

    I think my current settings are wrong because the products either appear for everyone or for no one.

    Could you please explain:

    1. How do I correctly create and assign a group so that only this group can access selected products?

    2. Which “Visibility” or “Restriction” rules do I need to set for each product or category?

    3. Do I need to set rules on product level, category level or both?

    4. How can I test if it’s working properly for each group?

    Thank you so much for your help — a clear step-by-step would be really appreciated!

    Best regards,
    Stephan

  •  2,496
    WebWizards replied

    Hi Stephan,

    Glad to assist,

     

    For that kind of visibility setup, we recommend that you use our plugin's visibility module, as described here: https://woocommerce-b2b-plugin.com/docs/faq-product-visibility-is-not-working-how-to-set-up-product-visibility/ (Rather than using dynamic rules).

     

    I can recommend a step-by-step process but I advise that you first of all have a site backup just in case anything is inadvertently affected in a negative way, especially if this is a production site.

     

    As a step-by-step, I would recommend:

    (1) In B2BKing -> Settings -> Access, set it to "Control Visibility".

    (2) In B2BKing -> Tools -> Visibility Editor, set it to "all categories visible to all" and click on Set categories.

    This brings it to the point where all categories are enabled for everyone.

     

    (3) Previously you mentioned "

    • Group “Guest” and “B2B” → should NOT see specific products."

    Now we are in the position where all categories / products are visible to all, and we need to set specific products as not visible to Guest and B2B.

     

    To do that, simply go to each such product, edit it, and set it to use "manual visibility" (please refer to the above link for visibility setup for clarity), then enable only the specific groups that need to have access.

     

    Let me know if I can help,

    Kind regards,

    Thomas

  •  1
    Stephan Brey replied

    Hi Thomas,

    Thanks again for your detailed guidance — I’ve followed the steps precisely and here’s the current situation:

    In the test shop, everything works perfectly:

    • Guest view: The “Neurologische Balance” category and its 4 products are not visible.

    • Logged in as test user (Group FYF): The category and all 4 assigned products are correctly visible.

    Settings in test shop:

    • Category “Neurologische Balance” was created and assigned exclusively to group FYF.

    • All 4 products were set to manual visibility, enabled only for FYF.

    Result: Everything works exactly as expected.

    Issue in main shop:

    In the main shop, I have replicated the exact same settings — same category, same group assignment, same manual product visibility — but the products and category are not shown as they should be. The visibility filter doesn’t seem to apply in this case.

    Both shops are technically identical (same B2BKing version, WordPress & WooCommerce versions, no different plugins or themes), so I’m a bit stuck.

    Would you be open to taking a quick look at the main shop? I can provide you with temporary admin access or a support login if needed.

    Thanks in advance & best regards,
    Stephan

  •  2,496
    WebWizards replied

    Hi Stephan,

    I'd be happy to take a look to help figure out what might be causing this difference.

    You can send temporary admin access either here in a private message, or to [email protected].

    To help me investigate more efficiently, it would be great if you could also point me to a specific example of a product or page where the visibility isn't working correctly.

     

    Kind regards,
    Thomas

  •  1
    Stephan Brey replied

    thanks for advice, I have solved it
    Regards
    Stephan