WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Order Notes Not Showing in Comments, Not Searchable (10 posts)

  1. jraffucci
    Member
    Posted 9 months ago #

    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/

  2. Wheeliebrenn
    Member
    Posted 7 months ago #

    I too am experiencing this problem. Any suggestions are appreciated.

  3. jraffucci
    Member
    Posted 7 months ago #

    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.

  4. Wheeliebrenn
    Member
    Posted 7 months ago #

    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?

  5. jraffucci
    Member
    Posted 7 months ago #

    Yes sir, functions.php

    :)

  6. Wheeliebrenn
    Member
    Posted 7 months ago #

    Wow. It worked perfectly.

    Thanks again!

    Brenn

  7. jraffucci
    Member
    Posted 7 months ago #

    No problem! Marking as solved!

  8. Wheeliebrenn
    Member
    Posted 7 months ago #

    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.

  9. Wheeliebrenn
    Member
    Posted 7 months ago #

    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.

  10. jraffucci
    Member
    Posted 7 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic