Support » Plugin: Woo Product Remover » Does what it says, and a little more.

  • It indeed removed all the products from woocommerce. It also removed all the categories that had products in them, and left some stuff to the database so it’s a mess right now.

    Notice: Trying to get property of non-object in /wp-includes/taxonomy.php on line 3874

    I had those categories in a menu, and now I can’t get rid of these notifications.

    Edit:
    To be exact, it removed other categories, but left 2 subcategories in the wp_terms table. I think they broke because their parent got removed.

    • This topic was modified 5 years, 8 months ago by chadetz.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author mcfarhat

    (@mcfarhat)

    hey there,
    sorry to hear you are facing issues after using the plugin, but that is correct part of the cleanup is removing related categories to products as they no longer are being used.
    If you need assistance fixing this issue, feel free to reach out and share further details. A quick suggestion, you can probably try editing those child categories and setting their parent to a different category.

    Thread Starter chadetz

    (@chadetz)

    Hey, thanks for the reply.
    I fixed it by removing the two rows from wp_terms table. The two categories were not visible on wp-admin and just caused the php notices.

    I think you should update the plugin description to indicate that it will remove categories as well. In my case, I only wanted to remove the products since I would import new products to the same categories.

    Aren’t categories like their own entities and not just product meta?

    Plugin Author mcfarhat

    (@mcfarhat)

    Pleasure, glad that worked out for you.

    Yes your suggestion makes sense. We followed the path that if the category is no longer used and it belonged to a product, we got it cleaned.

    Maybe we can add a checkbox to allow whether you would like to get the categories kept or removed. I think that’s the best approach and we’ll aim to add that in upcoming version.

    Thanks again for your feedback

    Thread Starter chadetz

    (@chadetz)

    Great!

    Hello there…

    Have you added this checkbox to your plugin yet?
    I am wanting to do just as @chadetz was trying to do…

    Delete all the products, but keep the categories, ready to import more, and allocate to the same categories.

    Please let me know ASAP.

    Many thanks – very glad that there is such a plugin out there to use!

    Odette.

    Plugin Author mcfarhat

    (@mcfarhat)

    Hello Odette,

    Thanks for your interest in the plugin.
    You’re just in time for this update!
    This feature should be ready in a day or two. Stay tuned 🙂

    Plugin Author mcfarhat

    (@mcfarhat)

    FYI new version with support to this new functionality has just been released 🙂

    Thread Starter chadetz

    (@chadetz)

    Allright!

    Now it seems to do what it says, I will update my rating accordingly =)

    Thanks!

    Plugin Author mcfarhat

    (@mcfarhat)

    Pleasure @chadetz

    And thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Does what it says, and a little more.’ is closed to new replies.