Public Ticket #3015995

Uncategorised products called Offer and Credit

Closed
Comments
3 Tickets 1
Calvin started the conversation 5 years ago on April 3, 2022 at 5:41am

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                                                      |

2,762
KingsPlugins replied 5 years ago on April 4, 2022 at 8:13pm

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

3 Tickets 1
Calvin replied 5 years ago on April 6, 2022 at 12:01am

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

2,762
KingsPlugins replied 5 years ago on April 6, 2022 at 12:14am

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

Sign In