How to Remove Additional Information Checkout Page WooCommerce

How to Remove Additional Information Checkout Page WooCommerce
880 Views
3.9
(251)

We can remove the Additional Information and Order Notes fields in WooCommerce checkout page with 2 filters that you add to functions.php file.

<?php
  /* Cxc Removes Order Notes Title - Additional Information & Notes Field */
  add_filter( 'woocommerce_enable_order_notes_field', '__return_false', 9999 );

  /* Cxc Remove Order Notes Field */
  add_filter( 'woocommerce_checkout_fields' , 'cxc_woocommerce_remove_order_notes' );

  function cxc_woocommerce_remove_order_notes( $fields ) {
       unset( $fields['order']['order_comments'] );
       return $fields;
  }
?>

How can I change the additional information on the WooCommerce checkout page?

By navigating to the WooCommerce Settings page and clicking on the “Extra Information” tab, you may edit the additional information in text in WooCommerce.

How can I get rid of billing information from the WooCommerce checkout?

1. Go to Settings > WooCommerce.
2. Select the Checkout option.
3. Navigate to the Billing section
4. Remove the billing information by clicking the Remove button next to it.
5. At the bottom of the page, click the Save Changes option.

How do I get rid of the terms and conditions in the WooCommerce checkout?

To deactivate the Terms and conditions checkbox, navigate to WooCommerce > Settings > Advanced > Page Setup > Terms and conditions page > Select – Terms and conditions page. Be careful to unselect the page that is chosen.

How useful was this blog?

Click on a star to rate it!

Average rating 3.9 / 5. Vote count: 251

No votes so far! Be the first to rate this blog.

8 comments

  1. It just works perfectly. I haven’t even needed to use the support it’s so simple and effective, so no idea if they’re any good or not on that front. I’ll just assume they’re very helpful 🙂

  2. I have put your code on construct method. see below code.

    public function __construct($plugin_name, $version) {

    $this->plugin_name = $plugin_name;
    $this->version = $version;

    add_filter( 'woocommerce_checkout_fields' , 'woocommerce_remove_order_notes' );
    }

    1. Update your this code with below code. You have to use $this object on call back function.

      public function __construct($plugin_name, $version) {

      $this->plugin_name = $plugin_name;
      $this->version = $version;

      add_filter( ‘woocommerce_checkout_fields’ , array($this, ‘woocommerce_remove_order_notes’) );
      }

Leave a comment

Your email address will not be published. Required fields are marked *