Try these all step they will usefull for you
- Override the checkout layout file:
In your custom theme or module, create the following directory path if it doesn't exist:
Create a file named checkout_index_index.xml in the above directory.
Edit the checkout_index_index.xml file and add the following code to remove the required attribute from the address fields.
Save the file and clear the Magento cache.
After making these changes, the address fields on the checkout page should no longer be marked as required.
Please note that modifying core files directly is not recommended, so it's always better to use a custom theme or module to override the necessary files and make these changes.
HOPE THIS IS USEFUL TO YOU