I have categories showing up for groups who should not be seeing them.
I go into Tools > Bulk Editor > Set category visibility in bulk> and I select 'All Categories NOT visible to all groups". However this seems to have no effect?
I have verified that permissions are set correctly. That is to say, there are entries in wp_termdata corresponding to the visibility of my categories to certain groups.
However, when I view my shop as a user in a restricted group, all categories show up in the default Woo commerce shop page. (If I view these categories, the products that should be hidden do not show up, so this part of the functionality is working, but I don't want the categories to display.)
I am using the Neve theme, but I reset my theme to the default that came with Wordpress, and the problem persists, so it's not a theme issue.
Are you able to provide any help or guidance here? Thanks very much
Since my last message, I installed B2BKing on a vanilla Wordpress installation, with only WooCommerce installed. I created one category, and added one product to it.
Further, I went to Appearance → Customize, and in the Woo Commerce settings on the Shop page, and changed the “Shop page display” option to “Show categories”. [Second Image]
If I then visit the Shop page in an Incognito tab, it shows me the category that I expect to be hidden. [Third Image]
Is there another way I should be generating a list of the categories only they are able to view, based on the group visibility settings configured in B2BKing?
Hi,
I have categories showing up for groups who should not be seeing them.
I go into Tools > Bulk Editor > Set category visibility in bulk> and I select 'All Categories NOT visible to all groups". However this seems to have no effect?
Is there another method to make this work?
Hi Kathleene,
Thank you for purchasing the plugin,
I checked this functionality locally but it seems to be working as expected here.
I suspect that you tried to use the bulk editor without making some relevant settings.
Kindly please see our guide for this here: https://woocommerce-b2b-plugin.com/docs/faq-product-visibility-is-not-working-how-to-set-up-product-visibility/
Most importantly "All Products Visible" has to be disabled below. But the above article should hopefully explain all necessary.
Let me know if you can get that to work,
Kind regards,
Stefan
Hi Stefan,
I have verified that permissions are set correctly. That is to say, there are entries in wp_termdata corresponding to the visibility of my categories to certain groups.
However, when I view my shop as a user in a restricted group, all categories show up in the default Woo commerce shop page. (If I view these categories, the products that should be hidden do not show up, so this part of the functionality is working, but I don't want the categories to display.)
I am using the Neve theme, but I reset my theme to the default that came with Wordpress, and the problem persists, so it's not a theme issue.
Are you able to provide any help or guidance here? Thanks very much
Hi,
Since my last message, I installed B2BKing on a vanilla Wordpress installation, with only WooCommerce installed. I created one category, and added one product to it.
As per the instructions in this article ([https://woocommerce-b2b-plugin.com/docs/faq-product-visibility-is-not-working-how-to-set-up-product-visibility/](https://woocommerce-b2b-plugin.com/docs/faq-product-visibility-is-not-working-how-to-set-up-product-visibility/)), I set the product visibility switch (“All products visible to all users”) to false, and set the bulk action to hide all categories from all groups. As above, the rows show up in the wp_termmeta table [First Image], so the back end configuration looks correct to me.
Further, I went to Appearance → Customize, and in the Woo Commerce settings on the Shop page, and changed the “Shop page display” option to “Show categories”. [Second Image]
If I then visit the Shop page in an Incognito tab, it shows me the category that I expect to be hidden. [Third Image]
Is there another way I should be generating a list of the categories only they are able to view, based on the group visibility settings configured in B2BKing?
Thanks!
Hi Kathleene,
Thank you for the in-depth explanation,
Please try to enable the following setting and see if the issue persists:
In B2BKing -> Settings -> Other -> please enable "Product Visibility Cache".
The cache works before categories are loaded, so I think it may resolve your issue. Please let me know if it does.