Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Abhi G. a11n

    (@theabhig)

    Hi there @adleyho

    It’s not possible to specifically hide orders, but you can move them to trash by selecting the below option:


    Link to image: https://d.pr/i/dLMfTw

    They will then be removed from the view of your other orders but will sit in a Trash folder, without being permanently deleted.

    I hope this helps.

    Thread Starter adleyho

    (@adleyho)

    Hi @theabhig,
    Thank you for your reply.
    Do you know how to set failed orders automatically move to trash?

    Hey there,

    There’s no in-built way of setting these orders to delete automatically. On top of that, I wouldn’t recommend that you delete failed orders immediately since that can lead to issues further on, like for example a customer having proof of payment, but the order failed on the website for some reason, and you will not have any way of figuring out what went wrong.

    What I recommend you do is every so often manually delete the failed orders. You can filter to show only failed orders on the order page, and then select them all to bulk delete. You can see a video of this here:

    https://d.pr/v/nkUpjw

    I did a search for any available plugins that might do this for you, however, I couldn’t find any. This means that this would probably have to be a custom solution. I found this StackOverflow thread that is discussing this exact functionality:

    https://stackoverflow.com/questions/47477181/woocommerce-auto-delete-failed-orders

    Please be aware that since this is a customization, we can’t offer support if anything doesn’t work as expected.

    I hope this helps point you in the right direction.

    Thread Starter adleyho

    (@adleyho)

    Hi @luanluta,
    Thank you so much for your reply! As you said, I should move failed orders to trash rather than delete them forever.

    Hi there!

    Just an additional note that after 30 days added to the trash, the orders would also delete permanently.

    If you don’t want to delete these permanently, please don’t move these to the trash.

    In general, if your end goal is to fully hide orders, natively you can only delete it indeed.

    An option that you could try is using something like that if you don’t want it permanently removed when added to the trash:
    https://www.wpbeginner.com/beginners-guide/how-to-limit-or-disable-automatic-empty-trash-in-wordpress/

    Keep in mind that we are only sending the link above as a reference, and we didn’t try it from our end, so we can’t guarantee that it will work as expected.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I hide failed orders on the orders dashboard?’ is closed to new replies.