Viewing 6 replies - 1 through 6 (of 6 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @maxence1502,

    At the moment, there’s no default option for that in WooCommerce, and setting that as the default would require a bit of additional coding. Custom coding goes beyond the scope of support we are able to provide in this forum.

    If you do require more help with the actual coding, we’d recommend hiring a developer or one of the customization experts listed at https://woocommerce.com/customizations/.

    Cheers!

    Thread Starter maxence1502

    (@maxence1502)

    Hi, thanks for you answer.

    But that’s just a file of woocommerce to overwrite in my child theme and remove the line that add the comment into the database, no ?

    I just need to know which file it’s, and if it’s possible the line to remove

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    You’d want to use custom code here and I’ve found a similar case on Stack Overflow that could guide you on the right track.

    I would recommend using a plugin like Code Snippets by Code Snippets Pro to add custom PHP code into your site without directly accessing the functions.php file.

    I’m marking this thread as resolved, but if you have further questions please feel free to open a new topic.

    Cheers!

    Thread Starter maxence1502

    (@maxence1502)

    Thanks, just a question before breaking everything. Does remove comments can create bugs in Woocommerce or the comments in the order are just a information for the admins ?

    Mirko P.

    (@rainfallnixfig)

    Hi @maxence1502,

    If you select Private note in the right hand Order notes panel those comments are only visible to admins. Customers do not see these notes but may receive notification of them, e.g., when the status changes from processing to completed, an email may be sent (depending on your settings).

    It’s highly recommended a full backup of your site and database before making any changes. You could consider using a service like Jetpack. If something goes wrong it’s nice to know that you can restore your site to the previous state.

    Cheers.

    Thread Starter maxence1502

    (@maxence1502)

    Yes I know, but woocommerce doesn’t use any event based on the creation by the system of a comment in an order ?
    If I correctly remove the code that add the comment, that will not break woocommerce ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Disable order comments’ is closed to new replies.