{"id":26025,"date":"2022-02-25T16:08:28","date_gmt":"2022-02-25T22:08:28","guid":{"rendered":"https:\/\/launchflows.com\/?post_type=documentation&p=26025"},"modified":"2022-02-25T16:22:40","modified_gmt":"2022-02-25T22:22:40","slug":"how-to-hide-order-comments","status":"publish","type":"documentation","link":"https:\/\/launchflows.com\/documentation\/how-to-hide-order-comments\/","title":{"rendered":"Hide Order Comments"},"content":{"rendered":"

Why?<\/h3>\n

In any standard checkout, the WooCommerce Additional Fields will be shown and inside of that are the Order Comment fields.<\/p>\n

\"hide-order-comments\"<\/a><\/p>\n

How?<\/h3>\n

If you wish to continue to use and relocate the Additional Fields component, but do not want to show the Order Comment fields inside (because you are adding some other custom fields instead, with the Checkout Field Editor plugin<\/a>), then use this shortcode anywhere in your layout.<\/p>\n

This works with any page builder including Gutenberg and Elementor.<\/p>\n

Shortcode<\/h3>\n
[lf-hide-order-comments]<\/code><\/pre>\n

Login Display For WooCommerce<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

Why? In any standard checkout, the WooCommerce Additional Fields will be shown and inside of that are the Order Comment fields. How? If you wish to continue to use and relocate the Additional Fields component, but do not want to show the Order Comment fields inside (because you are adding some other custom fields instead,…<\/p>\n","protected":false},"featured_media":0,"menu_order":8,"template":"","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"documentation_tags":[],"acf":[],"featured_image_src_large":false,"author_info":[],"comment_info":"","taxonomy_info":{"documentation_categories":[{"value":252,"label":"Custom Checkouts"}]},"_links":{"self":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation\/26025"}],"collection":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/types\/documentation"}],"version-history":[{"count":0,"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation\/26025\/revisions"}],"wp:attachment":[{"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/media?parent=26025"}],"wp:term":[{"taxonomy":"documentation_tags","embeddable":true,"href":"https:\/\/launchflows.com\/wp-json\/wp\/v2\/documentation_tags?post=26025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}