Checkout page in WooComemrce

1: Remove All fields

Note: Some Payment Gateways require these fields, so you should check payment before removing it.

Add the code bellow to functions.php in child theme

add_filter( 'el_hidden_fields_checkout_woo', '__return_true' );

Remove some fields

2: Remove Billing last name

add_filter( 'el_wce_unset_billing_last_name', '__return_true' );

3: Remove billing Phone

add_filter( 'el_wce_unset_billing_phone', '__return_true' );

4: Remove billing Company

add_filter( 'el_wce_unset_billing_company', '__return_true' );

5: Remove Billing Addresss 1

add_filter( 'el_wce_unset_billing_address_1', '__return_true' );

6: Remove Billing Addresss 2

add_filter( 'el_wce_unset_billing_address_2', '__return_true' );

7: Remove Billing City

add_filter( 'el_wce_unset_billing_city', '__return_true' );

8: Remove Billing Post Code

add_filter( 'el_wce_unset_billing_postcode', '__return_true' );

10: Remove Billing Country

add_filter( 'el_wce_unset_billing_country', '__return_true' );

11: Remove Billing State

add_filter( 'el_wce_unset_billing_state', '__return_true' );

12: Remove Order Note

add_filter( 'el_wce_unset_order_comments', '__return_true' );

Last updated

Was this helpful?