How to set up Product Visibility. Fix visibility issues.

Step 1) Enable product visibility #

To begin setting product visibility, the first step is to go to B2BKing->Settings->Access Restriction and disable "All products visible". This allows you to set product visibility per category or product.

Disable "All Product Visible"

Step 1.5) Optional: Make all categories visible in bulk #

By default, all categories will be hidden for all groups. In many cases, it's simpler to start with all products visible and just hide specific items.

To do that and make all categories visible in bulk, go to B2BKing->Tools->Bulk Editor and click on "Set all categories visible to all groups":

Step 2) Set product visibility per category #

Go to each WooCommerce category and scroll down to Group Visibility rules:

Group visibility settings per category

Check each option per your needs and save settings

Step 3) Optional: Set individual visibility settings for products #

You can set visibility not only per category, but also for each individual product. To do this go to the Edit product page, and scroll to product visibility settings:

Product visibility settings

To set visibility for the product individually, change "Follow category rules (Default) to "Manual Setting". This will allow you to set visibility settings for each group

Set product visibility with Meta Data #

All visibility settings are done through product or category meta data.

1. Meta keys for a category:

  • b2bking_group_0  - sets category visibility for guests
  • b2bking_group_b2c - sets category visibility for logged in, b2c users
  • b2bking_group_GROUPID (for example b2bking_group_73) - sets category visibility for the group with ID 73

Meta value: the value can be 1 for visible and 0 for invisible

2. Meta keys for a product:

  • b2bking_product_visibility_override : sets whether visibility is set by category, or manually.

Meta value: the value can be default (corresponds to "follow category rules") or manual (corresponds to manual visibility)

3. Meta keys for manual product visibility:

  • b2bking_group_0
  • b2bking_group_b2c
  • b2bking_group_GROUPID 

These work the same way as category meta data.

Powered by BetterDocs