0

I am trying to remove the Telephone custom field in customer account information. I am unsure how it loads the fields and how to remove a required option and field.

enter image description here

0

You can do that directly from database. Open eav_attribute table and set value in 'is_required' column from '1' to '0'.

2
  • i am trying this but its not worked
    – Devidas
    Jun 22 '18 at 13:25
  • it should work, have you tried after cleaning cache? Jun 22 '18 at 13:27
0

You can try this ...

$installer = Mage::getModel('customer/entity_setup', 'core_setup');
$installer->startSetup();
$installer->updateAttribute('customer_address','telephone', 'is_required', 0);
$installer->endSetup();

If its not enough please check this: up to date guide to remove telephone required field from checkout

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.