1

I am using Magento 2.1.0, and when any customer register , by default is_active value is 1. even there is no way to change it manually from admin panel.

 )->addColumn(
        'is_active',
        \Magento\Framework\DB\Ddl\Table::TYPE_SMALLINT,
        null,
        ['unsigned' => true, 'nullable' => false, 'default' => '1'],
        'Is Active'

This the is the quary is used in default customer module.

My question is , how will i enable in admin panel in customer form and in customer grid for manual change, and put the default value is 0.

7
  • why did you reject my edit? May 24, 2017 at 11:44
  • 1
    tell me one thing teja, from every post you are removing tag magento-2.1. why???
    – sam
    May 24, 2017 at 11:54
  • even i want to know from @rakesh jesadiya, how this question is related to customer-account? this question is related to customer module for the admin panel, and there will be putting some function like status.
    – sam
    May 24, 2017 at 11:57
  • @sam, customer-register is related to customer account. May 24, 2017 at 11:59
  • 1
    @teja, no version 2.0 and version 2.1 is same version. like magento 1 and magento 1.9 is not the same thing. i think both tag will be halpful for anyone to find this question.
    – sam
    May 24, 2017 at 12:15

0

Your Answer

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

Browse other questions tagged or ask your own question.