Support » Plugin: WooCommerce » Order Notes Not Showing in Comments, Not Searchable

  • Resolved jraffucci

    (@jraffucci)


    After upgrading to the 2.1 series of Woocommerce we noticed that all our order notes disappeared from the comments section of the WordPress Admin.

    When inspecting the comments table I can see that all the WooCommerce notes are there but not displayed in comments section and not selectable by filter. Is there a way to fix this?

    Thank you in advance.

    https://wordpress.org/plugins/woocommerce/

Viewing 9 replies - 1 through 9 (of 9 total)
  • I too am experiencing this problem. Any suggestions are appreciated.

    Hi Wheeliebrenn,

    I was recently shown this snippet by the Woocommerce support team. This brought back the original behavior for me.

    remove_filter( 'comments_clauses', array( 'WC_Comments', 'exclude_order_comments' ) );

    Hope this works for you.

    Wow, thank you so much for taking the time to let me know the solution!

    Is it safe to assume that this get plugged into my theme’s functions.php file?

    Yes sir, functions.php

    🙂

    Wow. It worked perfectly.

    Thanks again!

    Brenn

    No problem! Marking as solved!

    Alas, the ability to filter by order notes is not present in the Comments Filters. Only All Comment Types, Comments, and Pings appear in the dropdown.

    At least I will be able to manage the order notes better now.

    Although this help allowed me to once again reveal the Order Notes within the WordPress Comments Admin panel, it also revealed the order notes in a “Recent Comments” widget on my site’s front end which I cannot have.

    Oh well, I’ll go back to phpMyAdmin to manage the order notes.

    That is strange, it sounds like a bug report will be needed. I never tested it against all comments.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Order Notes Not Showing in Comments, Not Searchable’ is closed to new replies.