How can I remove the telephone field from the address fields in checkout (without CSS)?
Magento 2 – Remove Telephone from Checkout Address
addresscheckoutlayoutmagento2
addresscheckoutlayoutmagento2
How can I remove the telephone field from the address fields in checkout (without CSS)?
Best Answer
Temporarily, we should try with below code:
For example, in
app/design/frontend/{Vendor Theme}/{Theme}/Magento_Checkout/layout/checkout_index_index.xml
, find the component that you need to customize. Copy the corresponding node and all parent nodes up to . We're going to remove/disable telephone and telephone fields:Don't forgot to
Run php bin/magento c:c
&php bin/magento c:f