Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @ornamentgirl, I agree this does appear stupid, but I’m sure there’s method in the madness. Just delete the category via the database as per my earlier post, nothing has been destroyed, there are plenty of easy fixes.

    One option which is less easy if you have a lot of products but can be done via the CMS, is to rename the uncategorised category and move products from a ‘real category’ to it, as the replacement for the real category.

    In future, stage updates in a development installation. WordPress only installs minor builds automatically for good reason.

    willhosts

    (@willhosts)

    You can delete the category directly via the database by searching categories for ‘Uncategorized’, edit and identify it’s term ID, and executing the following SQL query, replacing 123 with the term ID.

    DELETE FROM wp_terms WHERE term_id = 123;

    Not sure if over time WooCommerce recreates it, but this has worked for me and I can’t find any information online other than ‘it should hide if empty’ because this is not what happened for me and even if it was working, the archive permalink still will with a ‘no products’ message.

    • This reply was modified 7 years ago by willhosts.
    • This reply was modified 7 years ago by willhosts.
Viewing 2 replies - 1 through 2 (of 2 total)