Title: remove input from postcode
Last modified: February 19, 2022

---

# remove input from postcode

 *  Resolved [vegetaca](https://wordpress.org/support/users/vegetaca/)
 * (@vegetaca)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/remove-input-from-postcode/)
 * Hello excellent plugin, I have a query, I want to remove the input from the postcode,
   how can I do it?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Diego Versiani](https://wordpress.org/support/users/diegoversiani/)
 * (@diegoversiani)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/remove-input-from-postcode/#post-15389137)
 * Hi [@vegetaca](https://wordpress.org/support/users/vegetaca/),
 * Thanks for the feedback.
 * You can remove shipping or billing fields with the code snippets below.
 *     ```
       /**
        * Remove some shipping fields.
        *
        * @param   array  $fields  Fields used in checkout.
        */
       function fluidcheckout_remove_shipping_fields( $fields ) {
       	// unset( $fields[ 'shipping_first_name' ] );
       	// unset( $fields[ 'shipping_last_name' ] );
       	// unset( $fields[ 'shipping_company' ] );
       	// unset( $fields[ 'shipping_phone' ] );
       	// unset( $fields[ 'shipping_address_1' ] );
       	// unset( $fields[ 'shipping_address_2' ] );
       	// unset( $fields[ 'shipping_city' ] );
       	// unset( $fields[ 'shipping_state' ] );
       	// unset( $fields[ 'shipping_country' ] );
       	unset( $fields[ 'shipping_postcode' ] );
       	return $fields;
       }
       add_filter( 'woocommerce_shipping_fields', 'fluidcheckout_remove_shipping_fields', 300 );
   
       /**
        * Remove some billing fields.
        *
        * @param   array  $fields  Fields used in checkout.
        */
       function fluidcheckout_remove_billing_fields( $fields ) {
       	// unset( $fields[ 'billing_first_name' ] );
       	// unset( $fields[ 'billing_last_name' ] );
       	// unset( $fields[ 'billing_company' ] );
       	// unset( $fields[ 'billing_phone' ] );
       	// unset( $fields[ 'billing_address_1' ] );
       	// unset( $fields[ 'billing_address_2' ] );
       	// unset( $fields[ 'billing_city' ] );
       	// unset( $fields[ 'billing_state' ] );
       	// unset( $fields[ 'billing_country' ] );
       	unset( $fields[ 'billing_postcode' ] );
       	return $fields;
       }
       add_filter( 'woocommerce_billing_fields', 'fluidcheckout_remove_billing_fields', 300 );
       ```
   
 * If you need to remove other fields, uncomment the respective lines. Otherwise,
   you can remove the commented code.
 * If you are unsure about how to add the code snippet, check our article:
    [How to safely add code snippets to your WooCommerce website](https://support.fluidcheckout.com/portal/en/kb/articles/how-to-add-code-snippets)
 * Please note that other plugins, such as payment methods, might need the postcode
   or other address fields to work properly.
 * Best,
    Diego
    -  This reply was modified 4 years, 3 months ago by [Diego Versiani](https://wordpress.org/support/users/diegoversiani/).

Viewing 1 replies (of 1 total)

The topic ‘remove input from postcode’ is closed to new replies.

 * ![](https://ps.w.org/fluid-checkout/assets/icon-256x256.png?rev=3492947)
 * [Fluid Checkout for WooCommerce - Lite](https://wordpress.org/plugins/fluid-checkout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluid-checkout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluid-checkout/)
 * [Active Topics](https://wordpress.org/support/plugin/fluid-checkout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluid-checkout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluid-checkout/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Diego Versiani](https://wordpress.org/support/users/diegoversiani/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/remove-input-from-postcode/#post-15389137)
 * Status: resolved