In Magento 2.1.2
How to remove billing address lastname field and shipping address lastname field ?
I update to eav_attribute
table.
UPDATE eav_attribute SET is_required = 0 WHERE attribute_code = 'lastname' and entity_type_id = 1;
and I removed vendor/magento/module-customer/view/frontend/templates/widget/name.phtml
The lastname is valid, but the billing address and the delivery address are invalid.
Does anyone know this ?