-
Anonymous
Hi,
How can I disable the ‘Add a note to your order’ checkbox in checkout.Thanks
-
Alvind
Hi there,
Try adding this snippet:
add_filter( 'woocommerce_enable_order_notes_field', '__return_false' );Adding PHP: https://docs.generatepress.com/article/adding-php/
-
Anonymous
Hi,
Thanks for your response. Have added the code in snippets but there is no change.Best regards
-
You don’t need the PHP code, your checkout page is using Woocommerce’s block template.
You can simply unlock the Order note block, and delete it:
https://app.screencast.com/MdkXXcp5SznQI -
Anonymous
Brilliant- thanks Ying!
-
No Problem 🙂
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.