We are building a wholesale store with B2BKing. At the side we have a widget displaying all product categories. We are using Mr. Tailor theme and have a Product Categories widget in the sidebar (already select the option "Hide empty categories"). There is an Uncategorised item displayed in the sidebar which will lead to a 404 error. In Woocommerce products, we found two invisible products and finally identified them by going in the mysql tables (below). They are Offer and Credit created by B2BKing. How can we prevent them from generating the Uncategorised item in the sidebar widget? Are they necessary and is there anyway I can safely remove them? Thanks.
These hidden products are necessary for some plugin features. I am considering possible options here as we may be able to hide or remove them. I would need to know the following:
- Are you using the B2BKing 'Offers' feature?
- Are you using the B2BKing Company Credit add-on?
I followed the procedures and there was no more Uncategorised product created, and the widget in the sidebar is now working correctly (not showing Uncategorised).
Anything I need to be aware of when updating the plugin in the future? And thank you so much for the quick solution.
Hi
We are building a wholesale store with B2BKing. At the side we have a widget displaying all product categories. We are using Mr. Tailor theme and have a Product Categories widget in the sidebar (already select the option "Hide empty categories"). There is an Uncategorised item displayed in the sidebar which will lead to a 404 error. In Woocommerce products, we found two invisible products and finally identified them by going in the mysql tables (below). They are Offer and Credit created by B2BKing. How can we prevent them from generating the Uncategorised item in the sidebar widget? Are they necessary and is there anyway I can safely remove them? Thanks.
Regards, Calvin
MariaDB [wholesale]> SELECT post_title FROM wp_posts WHERE post_type = "product";
+-------------------------------------------------------------+
| post_title |
+-------------------------------------------------------------+
| Offer |
| Credit |
Hi Calvin,
These hidden products are necessary for some plugin features. I am considering possible options here as we may be able to hide or remove them. I would need to know the following:
- Are you using the B2BKing 'Offers' feature?
- Are you using the B2BKing Company Credit add-on?
Kind regards,
Stefan
Hi Stefan
We are not using those two features. Thank you.
Regards, Calvin
Hi Stefan
I followed the procedures and there was no more Uncategorised product created, and the widget in the sidebar is now working correctly (not showing Uncategorised).
Anything I need to be aware of when updating the plugin in the future? And thank you so much for the quick solution.
Regards, Calvin
Glad to hear that's working as expected.
We will be merging this change to the plugin with our main code, for the next plugin update.
Therefore you'll be able to update the plugin in the future without any issues or special considerations.
Kind regards,
Stefan