Do you want to make some checkout fields not required such as phone number or the first name? Use this snippet below to do this.
In the above we are making the billing first name, last name, phone number, email and country as not required.
To add more you need to just add the HTML names of the fields. You can use inspect to check the names on the checkout page. For your reference we have added them below.
Likewise you can change the text “false” to be “true” to make them required.