Magento Product custom attribute options not showing up in admin The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Product attribute with dynamic optionsNot seeing custom Product Attribute in Images TabMagento 2 : Custom Category Attribute not Showing in AdminCustomer EAV Attribute not Showing in AdminMagento 1.9 : Configurable Options not showing on product page IssueMagento 2: Disable custom product attribute editing?custom product attribute value not showing in admin in magento 1Custom multiselct product attribute not showing selected in adminMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?

Can a relay be on for 16 hours continuously?

Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?

Semisimplicity of the category of coherent sheaves?

Relations between two reciprocal partial derivatives?

Difference between "generating set" and free product?

Finding the path in a graph from A to B then back to A with a minimum of shared edges

How to remove this toilet supply line that seems to have no nut?

Wall plug outlet change

Typeface like Times New Roman but with "tied" percent sign

How are presidential pardons supposed to be used?

Does Parliament hold absolute power in the UK?

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

He got a vote 80% that of Emmanuel Macron’s

What do you call a plan that's an alternative plan in case your initial plan fails?

I could not break this equation. Please help me

how can a perfect fourth interval be considered either consonant or dissonant?

Single author papers against my advisor's will?

Make it rain characters

How do you keep chess fun when your opponent constantly beats you?

First use of “packing” as in carrying a gun

Scientific Reports - Significant Figures

What are these Gizmos at Izaña Atmospheric Research Center in Spain?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Segmentation fault output is suppressed when piping stdin into a function. Why?



Magento Product custom attribute options not showing up in admin



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Product attribute with dynamic optionsNot seeing custom Product Attribute in Images TabMagento 2 : Custom Category Attribute not Showing in AdminCustomer EAV Attribute not Showing in AdminMagento 1.9 : Configurable Options not showing on product page IssueMagento 2: Disable custom product attribute editing?custom product attribute value not showing in admin in magento 1Custom multiselct product attribute not showing selected in adminMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















In my Magento ce 1.9.2.1 website, I have created many product custom attributes by setup-upgrade scripts like below:



<?php
$installer = new Mage_Eav_Model_Entity_Setup('core_setup');

$installer->startSetup();

$installer->addAttributeGroup('catalog_product', 'Business Directory', 'Business Directory', 1000);

$attribute_set_id = $installer->getAttributeSetId('catalog_product', 'Business Directory');

$attribute_group_id = $installer->getAttributeGroupId('catalog_product', $attribute_set_id, 'Business Directory');

$installer->addAttribute('catalog_product', 'city', array(
'label' => 'City',
'type' => 'varchar',
'attribute_set' => 'Business Directory',
'input' => 'select',
'default' => '',
'backend' => 'eav/entity_attribute_backend_array',
'frontend' => '',
'source' => '',
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
'visible' => true,
'required' => false,
'user_defined' => true,
'searchable' => false,
'filterable' => '1',
'comparable' => false,
'visible_on_front' => false,
'visible_in_advanced_search' => false,
'unique' => false,
'option' => array (
0 => array("Please Select City...")
),
));

$installer->updateAttribute('catalog_product', 'city', 'is_filterable', 1);

$attribute_id = $installer->getAttributeId('catalog_product', 'city');

$installer->addAttributeToSet($entityTypeId = 'catalog_product', $attribute_set_id, $attribute_group_id, $attribute_id);

$installer->addAttribute('catalog_product', 'postcode', array(
'label' => 'Postcode',
'type' => 'varchar',
'attribute_set' => 'Business Directory',
'input' => 'select',
'default' => '',
'backend' => 'eav/entity_attribute_backend_array',
'frontend' => '',
'source' => '',
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
'visible' => true,
'required' => false,
'user_defined' => true,
'searchable' => false,
'filterable' => '1',
'comparable' => false,
'visible_on_front' => false,
'visible_in_advanced_search' => false,
'unique' => false,
'option' => array (
0 => array("Please Select Postcode...")
),
));

$installer->updateAttribute('catalog_product', 'postcode', 'is_filterable', 1);

$attribute_id = $installer->getAttributeId('catalog_product', 'postcode');

$installer->addAttributeToSet($entityTypeId = 'catalog_product', $attribute_set_id, $attribute_group_id, $attribute_id);

$installer->endSetup();

unset($installer);


As you can see, both the attributes are select(dropdown) and both have no values initially when they are created(this is my custom key criteria, empty attributes dropdown only).



But when I populate them programmatically from frontend form, their values doesn't show up in Admin >> Catalog >> Attributes in their forms. They still show no options in admin, why ?










share|improve this question
















bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    0















    In my Magento ce 1.9.2.1 website, I have created many product custom attributes by setup-upgrade scripts like below:



    <?php
    $installer = new Mage_Eav_Model_Entity_Setup('core_setup');

    $installer->startSetup();

    $installer->addAttributeGroup('catalog_product', 'Business Directory', 'Business Directory', 1000);

    $attribute_set_id = $installer->getAttributeSetId('catalog_product', 'Business Directory');

    $attribute_group_id = $installer->getAttributeGroupId('catalog_product', $attribute_set_id, 'Business Directory');

    $installer->addAttribute('catalog_product', 'city', array(
    'label' => 'City',
    'type' => 'varchar',
    'attribute_set' => 'Business Directory',
    'input' => 'select',
    'default' => '',
    'backend' => 'eav/entity_attribute_backend_array',
    'frontend' => '',
    'source' => '',
    'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
    'visible' => true,
    'required' => false,
    'user_defined' => true,
    'searchable' => false,
    'filterable' => '1',
    'comparable' => false,
    'visible_on_front' => false,
    'visible_in_advanced_search' => false,
    'unique' => false,
    'option' => array (
    0 => array("Please Select City...")
    ),
    ));

    $installer->updateAttribute('catalog_product', 'city', 'is_filterable', 1);

    $attribute_id = $installer->getAttributeId('catalog_product', 'city');

    $installer->addAttributeToSet($entityTypeId = 'catalog_product', $attribute_set_id, $attribute_group_id, $attribute_id);

    $installer->addAttribute('catalog_product', 'postcode', array(
    'label' => 'Postcode',
    'type' => 'varchar',
    'attribute_set' => 'Business Directory',
    'input' => 'select',
    'default' => '',
    'backend' => 'eav/entity_attribute_backend_array',
    'frontend' => '',
    'source' => '',
    'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
    'visible' => true,
    'required' => false,
    'user_defined' => true,
    'searchable' => false,
    'filterable' => '1',
    'comparable' => false,
    'visible_on_front' => false,
    'visible_in_advanced_search' => false,
    'unique' => false,
    'option' => array (
    0 => array("Please Select Postcode...")
    ),
    ));

    $installer->updateAttribute('catalog_product', 'postcode', 'is_filterable', 1);

    $attribute_id = $installer->getAttributeId('catalog_product', 'postcode');

    $installer->addAttributeToSet($entityTypeId = 'catalog_product', $attribute_set_id, $attribute_group_id, $attribute_id);

    $installer->endSetup();

    unset($installer);


    As you can see, both the attributes are select(dropdown) and both have no values initially when they are created(this is my custom key criteria, empty attributes dropdown only).



    But when I populate them programmatically from frontend form, their values doesn't show up in Admin >> Catalog >> Attributes in their forms. They still show no options in admin, why ?










    share|improve this question
















    bumped to the homepage by Community 4 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      0












      0








      0








      In my Magento ce 1.9.2.1 website, I have created many product custom attributes by setup-upgrade scripts like below:



      <?php
      $installer = new Mage_Eav_Model_Entity_Setup('core_setup');

      $installer->startSetup();

      $installer->addAttributeGroup('catalog_product', 'Business Directory', 'Business Directory', 1000);

      $attribute_set_id = $installer->getAttributeSetId('catalog_product', 'Business Directory');

      $attribute_group_id = $installer->getAttributeGroupId('catalog_product', $attribute_set_id, 'Business Directory');

      $installer->addAttribute('catalog_product', 'city', array(
      'label' => 'City',
      'type' => 'varchar',
      'attribute_set' => 'Business Directory',
      'input' => 'select',
      'default' => '',
      'backend' => 'eav/entity_attribute_backend_array',
      'frontend' => '',
      'source' => '',
      'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
      'visible' => true,
      'required' => false,
      'user_defined' => true,
      'searchable' => false,
      'filterable' => '1',
      'comparable' => false,
      'visible_on_front' => false,
      'visible_in_advanced_search' => false,
      'unique' => false,
      'option' => array (
      0 => array("Please Select City...")
      ),
      ));

      $installer->updateAttribute('catalog_product', 'city', 'is_filterable', 1);

      $attribute_id = $installer->getAttributeId('catalog_product', 'city');

      $installer->addAttributeToSet($entityTypeId = 'catalog_product', $attribute_set_id, $attribute_group_id, $attribute_id);

      $installer->addAttribute('catalog_product', 'postcode', array(
      'label' => 'Postcode',
      'type' => 'varchar',
      'attribute_set' => 'Business Directory',
      'input' => 'select',
      'default' => '',
      'backend' => 'eav/entity_attribute_backend_array',
      'frontend' => '',
      'source' => '',
      'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
      'visible' => true,
      'required' => false,
      'user_defined' => true,
      'searchable' => false,
      'filterable' => '1',
      'comparable' => false,
      'visible_on_front' => false,
      'visible_in_advanced_search' => false,
      'unique' => false,
      'option' => array (
      0 => array("Please Select Postcode...")
      ),
      ));

      $installer->updateAttribute('catalog_product', 'postcode', 'is_filterable', 1);

      $attribute_id = $installer->getAttributeId('catalog_product', 'postcode');

      $installer->addAttributeToSet($entityTypeId = 'catalog_product', $attribute_set_id, $attribute_group_id, $attribute_id);

      $installer->endSetup();

      unset($installer);


      As you can see, both the attributes are select(dropdown) and both have no values initially when they are created(this is my custom key criteria, empty attributes dropdown only).



      But when I populate them programmatically from frontend form, their values doesn't show up in Admin >> Catalog >> Attributes in their forms. They still show no options in admin, why ?










      share|improve this question
















      In my Magento ce 1.9.2.1 website, I have created many product custom attributes by setup-upgrade scripts like below:



      <?php
      $installer = new Mage_Eav_Model_Entity_Setup('core_setup');

      $installer->startSetup();

      $installer->addAttributeGroup('catalog_product', 'Business Directory', 'Business Directory', 1000);

      $attribute_set_id = $installer->getAttributeSetId('catalog_product', 'Business Directory');

      $attribute_group_id = $installer->getAttributeGroupId('catalog_product', $attribute_set_id, 'Business Directory');

      $installer->addAttribute('catalog_product', 'city', array(
      'label' => 'City',
      'type' => 'varchar',
      'attribute_set' => 'Business Directory',
      'input' => 'select',
      'default' => '',
      'backend' => 'eav/entity_attribute_backend_array',
      'frontend' => '',
      'source' => '',
      'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
      'visible' => true,
      'required' => false,
      'user_defined' => true,
      'searchable' => false,
      'filterable' => '1',
      'comparable' => false,
      'visible_on_front' => false,
      'visible_in_advanced_search' => false,
      'unique' => false,
      'option' => array (
      0 => array("Please Select City...")
      ),
      ));

      $installer->updateAttribute('catalog_product', 'city', 'is_filterable', 1);

      $attribute_id = $installer->getAttributeId('catalog_product', 'city');

      $installer->addAttributeToSet($entityTypeId = 'catalog_product', $attribute_set_id, $attribute_group_id, $attribute_id);

      $installer->addAttribute('catalog_product', 'postcode', array(
      'label' => 'Postcode',
      'type' => 'varchar',
      'attribute_set' => 'Business Directory',
      'input' => 'select',
      'default' => '',
      'backend' => 'eav/entity_attribute_backend_array',
      'frontend' => '',
      'source' => '',
      'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
      'visible' => true,
      'required' => false,
      'user_defined' => true,
      'searchable' => false,
      'filterable' => '1',
      'comparable' => false,
      'visible_on_front' => false,
      'visible_in_advanced_search' => false,
      'unique' => false,
      'option' => array (
      0 => array("Please Select Postcode...")
      ),
      ));

      $installer->updateAttribute('catalog_product', 'postcode', 'is_filterable', 1);

      $attribute_id = $installer->getAttributeId('catalog_product', 'postcode');

      $installer->addAttributeToSet($entityTypeId = 'catalog_product', $attribute_set_id, $attribute_group_id, $attribute_id);

      $installer->endSetup();

      unset($installer);


      As you can see, both the attributes are select(dropdown) and both have no values initially when they are created(this is my custom key criteria, empty attributes dropdown only).



      But when I populate them programmatically from frontend form, their values doesn't show up in Admin >> Catalog >> Attributes in their forms. They still show no options in admin, why ?







      admin product-attribute custom ce-1.9.2.1






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 26 '17 at 8:37









      Teja Bhagavan Kollepara

      2,99341949




      2,99341949










      asked Jan 6 '16 at 16:55









      Vicky DevVicky Dev

      1,28761539




      1,28761539





      bumped to the homepage by Community 4 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 4 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Replace



          'option' => array (
          0 => array("Please Select City...")
          ),


          to



          'option' => array (
          'values' => array(
          0 => array("Please Select City...")
          )
          ),





          share|improve this answer























          • Btw, you also should replace 'type' => 'varchar' to 'type' => 'int'

            – Igor
            Jan 6 '16 at 17:37











          • Did that but still it doesn't add new options or updates existing ones in backend from frontend form.

            – Vicky Dev
            Jan 7 '16 at 6:37











          • You cannot add attribute options from frontend. If "Please Select City..." didn't appear as attribute's value, then you should remove that install script and run it again

            – Igor
            Jan 7 '16 at 10:35











          • I ran it three times already, but no luck adding from frontend.

            – Vicky Dev
            Jan 7 '16 at 10:40











          • You are trying to add new value (which previously never existed in attribute's options), right? If so, it is wrong. You can't add new value from frontend. You can just set one of already existing values to one of products

            – Igor
            Jan 7 '16 at 11:36


















          0














          You have to assign product attribute in group



          $setup->addAttribute('catalog_product', "price_status", array(
          'group' => 'Group Name', //you can also use "General"
          'type' => 'int',
          'input' => 'select',
          'label' => 'Allow check price ?',
          'visible' => 1,
          'sort_order' => 10,
          'visible' => 1,
          'required' => 0,
          'user_defined' => 1,
          'searchable' => 0,
          'filterable' => 0,
          'comparable' => 0,
          'visible_on_front' => 0,
          'visible_in_advanced_search' => 0,
          'is_html_allowed_on_front' => 0,
          'is_configurable' => 1,
          'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
          'backend' => 'eav/entity_attribute_backend_array',
          'option' => array (
          'values' => array(
          0 => 'No',
          1 => 'Yes',
          )
          ),


          May be it will help you.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f96211%2fmagento-product-custom-attribute-options-not-showing-up-in-admin%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Replace



            'option' => array (
            0 => array("Please Select City...")
            ),


            to



            'option' => array (
            'values' => array(
            0 => array("Please Select City...")
            )
            ),





            share|improve this answer























            • Btw, you also should replace 'type' => 'varchar' to 'type' => 'int'

              – Igor
              Jan 6 '16 at 17:37











            • Did that but still it doesn't add new options or updates existing ones in backend from frontend form.

              – Vicky Dev
              Jan 7 '16 at 6:37











            • You cannot add attribute options from frontend. If "Please Select City..." didn't appear as attribute's value, then you should remove that install script and run it again

              – Igor
              Jan 7 '16 at 10:35











            • I ran it three times already, but no luck adding from frontend.

              – Vicky Dev
              Jan 7 '16 at 10:40











            • You are trying to add new value (which previously never existed in attribute's options), right? If so, it is wrong. You can't add new value from frontend. You can just set one of already existing values to one of products

              – Igor
              Jan 7 '16 at 11:36















            0














            Replace



            'option' => array (
            0 => array("Please Select City...")
            ),


            to



            'option' => array (
            'values' => array(
            0 => array("Please Select City...")
            )
            ),





            share|improve this answer























            • Btw, you also should replace 'type' => 'varchar' to 'type' => 'int'

              – Igor
              Jan 6 '16 at 17:37











            • Did that but still it doesn't add new options or updates existing ones in backend from frontend form.

              – Vicky Dev
              Jan 7 '16 at 6:37











            • You cannot add attribute options from frontend. If "Please Select City..." didn't appear as attribute's value, then you should remove that install script and run it again

              – Igor
              Jan 7 '16 at 10:35











            • I ran it three times already, but no luck adding from frontend.

              – Vicky Dev
              Jan 7 '16 at 10:40











            • You are trying to add new value (which previously never existed in attribute's options), right? If so, it is wrong. You can't add new value from frontend. You can just set one of already existing values to one of products

              – Igor
              Jan 7 '16 at 11:36













            0












            0








            0







            Replace



            'option' => array (
            0 => array("Please Select City...")
            ),


            to



            'option' => array (
            'values' => array(
            0 => array("Please Select City...")
            )
            ),





            share|improve this answer













            Replace



            'option' => array (
            0 => array("Please Select City...")
            ),


            to



            'option' => array (
            'values' => array(
            0 => array("Please Select City...")
            )
            ),






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 6 '16 at 17:24









            IgorIgor

            1112




            1112












            • Btw, you also should replace 'type' => 'varchar' to 'type' => 'int'

              – Igor
              Jan 6 '16 at 17:37











            • Did that but still it doesn't add new options or updates existing ones in backend from frontend form.

              – Vicky Dev
              Jan 7 '16 at 6:37











            • You cannot add attribute options from frontend. If "Please Select City..." didn't appear as attribute's value, then you should remove that install script and run it again

              – Igor
              Jan 7 '16 at 10:35











            • I ran it three times already, but no luck adding from frontend.

              – Vicky Dev
              Jan 7 '16 at 10:40











            • You are trying to add new value (which previously never existed in attribute's options), right? If so, it is wrong. You can't add new value from frontend. You can just set one of already existing values to one of products

              – Igor
              Jan 7 '16 at 11:36

















            • Btw, you also should replace 'type' => 'varchar' to 'type' => 'int'

              – Igor
              Jan 6 '16 at 17:37











            • Did that but still it doesn't add new options or updates existing ones in backend from frontend form.

              – Vicky Dev
              Jan 7 '16 at 6:37











            • You cannot add attribute options from frontend. If "Please Select City..." didn't appear as attribute's value, then you should remove that install script and run it again

              – Igor
              Jan 7 '16 at 10:35











            • I ran it three times already, but no luck adding from frontend.

              – Vicky Dev
              Jan 7 '16 at 10:40











            • You are trying to add new value (which previously never existed in attribute's options), right? If so, it is wrong. You can't add new value from frontend. You can just set one of already existing values to one of products

              – Igor
              Jan 7 '16 at 11:36
















            Btw, you also should replace 'type' => 'varchar' to 'type' => 'int'

            – Igor
            Jan 6 '16 at 17:37





            Btw, you also should replace 'type' => 'varchar' to 'type' => 'int'

            – Igor
            Jan 6 '16 at 17:37













            Did that but still it doesn't add new options or updates existing ones in backend from frontend form.

            – Vicky Dev
            Jan 7 '16 at 6:37





            Did that but still it doesn't add new options or updates existing ones in backend from frontend form.

            – Vicky Dev
            Jan 7 '16 at 6:37













            You cannot add attribute options from frontend. If "Please Select City..." didn't appear as attribute's value, then you should remove that install script and run it again

            – Igor
            Jan 7 '16 at 10:35





            You cannot add attribute options from frontend. If "Please Select City..." didn't appear as attribute's value, then you should remove that install script and run it again

            – Igor
            Jan 7 '16 at 10:35













            I ran it three times already, but no luck adding from frontend.

            – Vicky Dev
            Jan 7 '16 at 10:40





            I ran it three times already, but no luck adding from frontend.

            – Vicky Dev
            Jan 7 '16 at 10:40













            You are trying to add new value (which previously never existed in attribute's options), right? If so, it is wrong. You can't add new value from frontend. You can just set one of already existing values to one of products

            – Igor
            Jan 7 '16 at 11:36





            You are trying to add new value (which previously never existed in attribute's options), right? If so, it is wrong. You can't add new value from frontend. You can just set one of already existing values to one of products

            – Igor
            Jan 7 '16 at 11:36













            0














            You have to assign product attribute in group



            $setup->addAttribute('catalog_product', "price_status", array(
            'group' => 'Group Name', //you can also use "General"
            'type' => 'int',
            'input' => 'select',
            'label' => 'Allow check price ?',
            'visible' => 1,
            'sort_order' => 10,
            'visible' => 1,
            'required' => 0,
            'user_defined' => 1,
            'searchable' => 0,
            'filterable' => 0,
            'comparable' => 0,
            'visible_on_front' => 0,
            'visible_in_advanced_search' => 0,
            'is_html_allowed_on_front' => 0,
            'is_configurable' => 1,
            'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
            'backend' => 'eav/entity_attribute_backend_array',
            'option' => array (
            'values' => array(
            0 => 'No',
            1 => 'Yes',
            )
            ),


            May be it will help you.






            share|improve this answer





























              0














              You have to assign product attribute in group



              $setup->addAttribute('catalog_product', "price_status", array(
              'group' => 'Group Name', //you can also use "General"
              'type' => 'int',
              'input' => 'select',
              'label' => 'Allow check price ?',
              'visible' => 1,
              'sort_order' => 10,
              'visible' => 1,
              'required' => 0,
              'user_defined' => 1,
              'searchable' => 0,
              'filterable' => 0,
              'comparable' => 0,
              'visible_on_front' => 0,
              'visible_in_advanced_search' => 0,
              'is_html_allowed_on_front' => 0,
              'is_configurable' => 1,
              'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
              'backend' => 'eav/entity_attribute_backend_array',
              'option' => array (
              'values' => array(
              0 => 'No',
              1 => 'Yes',
              )
              ),


              May be it will help you.






              share|improve this answer



























                0












                0








                0







                You have to assign product attribute in group



                $setup->addAttribute('catalog_product', "price_status", array(
                'group' => 'Group Name', //you can also use "General"
                'type' => 'int',
                'input' => 'select',
                'label' => 'Allow check price ?',
                'visible' => 1,
                'sort_order' => 10,
                'visible' => 1,
                'required' => 0,
                'user_defined' => 1,
                'searchable' => 0,
                'filterable' => 0,
                'comparable' => 0,
                'visible_on_front' => 0,
                'visible_in_advanced_search' => 0,
                'is_html_allowed_on_front' => 0,
                'is_configurable' => 1,
                'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
                'backend' => 'eav/entity_attribute_backend_array',
                'option' => array (
                'values' => array(
                0 => 'No',
                1 => 'Yes',
                )
                ),


                May be it will help you.






                share|improve this answer















                You have to assign product attribute in group



                $setup->addAttribute('catalog_product', "price_status", array(
                'group' => 'Group Name', //you can also use "General"
                'type' => 'int',
                'input' => 'select',
                'label' => 'Allow check price ?',
                'visible' => 1,
                'sort_order' => 10,
                'visible' => 1,
                'required' => 0,
                'user_defined' => 1,
                'searchable' => 0,
                'filterable' => 0,
                'comparable' => 0,
                'visible_on_front' => 0,
                'visible_in_advanced_search' => 0,
                'is_html_allowed_on_front' => 0,
                'is_configurable' => 1,
                'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
                'backend' => 'eav/entity_attribute_backend_array',
                'option' => array (
                'values' => array(
                0 => 'No',
                1 => 'Yes',
                )
                ),


                May be it will help you.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 16 '16 at 6:28

























                answered Nov 15 '16 at 12:07









                chiragchirag

                2,1711830




                2,1711830



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f96211%2fmagento-product-custom-attribute-options-not-showing-up-in-admin%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                    How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2

                    Nissan Patrol Зміст Перше покоління — 4W60 (1951-1960) | Друге покоління — 60 series (1960-1980) | Третє покоління (1980–2002) | Четверте покоління — Y60 (1987–1998) | П'яте покоління — Y61 (1997–2013) | Шосте покоління — Y62 (2010- ) | Посилання | Зноски | Навігаційне менюОфіційний український сайтТест-драйв Nissan Patrol 2010 7-го поколінняNissan PatrolКак мы тестировали Nissan Patrol 2016рвиправивши або дописавши її