# Checkout page in WooComemrce

## **1: Remove All fields**

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1-bzGggknMKVWOqg5-%2Fuploads%2FETv98r2buxGEVXK5BDWe%2FScreen%20Shot%202024-01-03%20at%2009.08.39.png?alt=media\&token=b3dcb173-d661-4148-b31c-a082cee35a4a)

**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' );
```

