• Resolved élisson Costa

    (@nossileee)


    Hello, in the “add note” field within the customer’s order in woocommerce you have 2 options, private note and note for the customer. I would like to deactivate the private note and leave only -> note for the client active, is this possible?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    It is not possible by default, there is no setting to disable one of the options.

    If you wanted to do this, it would require some custom code. Our team doesn’t provide support for that but if you’d like to pursue that option I’d recommend either:

    Check sites like https://www.codeable.io for a skilled third-party developer that you could hire.

    Or

    If you already have access to a developer, they can join the WooCommerce Developer Slack

    I would like to deactivate the private note

    Backup the file (make a duplicate copy of the file)

    /wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-notes.php

    Edit the file, around line number 40

    comment out the line

    <option value=""><?php esc_html_e( 'Private note', 'woocommerce' ); ?></option>

    like

    <!--<option value=""><?php esc_html_e( 'Private note', 'woocommerce' ); ?></option>-->

    Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    Please keep in mind that changes made directly to a plugin’s code (including WooCommerce) will typically be lost when you update that plugin.

    It’s best to make changes in a stand-alone plugin so that they aren’t lost when updating, as well as allowing you to easily revert the change in case they cause a problem.

    Plugin Support Thu P. a11n

    (@thup90)

    Hi there,

    I hope you found the previous reply helpful. We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I disable the private note option?’ is closed to new replies.