Created
December 12, 2018 17:07
-
-
Save cagartner/3d5e77630b2d5f1169c96587bde910e5 to your computer and use it in GitHub Desktop.
Update customer attribute definitions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$installer = $this; | |
$installer->startSetup(); | |
$installer->updateAttribute('customer', 'sge_fonepri', 'frontend_label', 'Telefone Residencial'); | |
$installer->updateAttribute('customer', 'sge_fonesec', 'frontend_label', 'Telefone Celular'); | |
$installer->updateAttribute('customer', 'sge_fonesec', 'is_required', 1); | |
$installer->endSetup(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment