Magento 2.2.5 : Add custom field in product attribute add form

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





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







up vote
1
down vote

favorite












Go to : Store -> Attributes -> Product -> Edit attribute



I want to add custom dropdown as like Used in Product Listing dropdown.



I added it. But, It's display in Properties tab instead of Storefront Properties tab.



Please help me how to add that in Properties tab.



I upload my code and screenshot here.




CompanyNameModuleNameBlockAdminhtmlProductAttributeEditTabFront.php




<?php

namespace CompanyNameModuleNameBlockAdminhtmlProductAttributeEditTab;

class Front extends MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront

protected function _prepareForm()


parent::_prepareForm();
$attributeObject = $this->_coreRegistry->registry('entity_attribute');
$form = $this->_formFactory->create(
['data' => ['id' => 'edit_form', 'action' => $this->getData('action'), 'method' => 'post']]
);

$yesnoSource = $this->_yesNo->toOptionArray();
$fieldset = $form->addFieldset(
'front_fieldset',
['legend' => __('Storefront Properties'), 'collapsable' => $this->getRequest()->has('popup')]
);
$fieldset->addField(
'used_in_custom',
'select',
[
'name' => 'used_in_custom',
'label' => __('Used in Custom'),
'title' => __('Used in Custom'),
'note' => __('Depends on design theme.'),
'values' => $yesnoSource,
]
);
$this->setForm($form);
return MagentoBackendBlockWidgetFormGeneric::_prepareForm();





CompanyName/ModuleName/view/adminhtml/ui_component/product_attribute_add_form.xml




<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<fieldset name="front_fieldset">
<field name="used_in_custom" sortOrder="130" formElement="checkbox">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="default" xsi:type="number">1</item>
</item>
</argument>
<settings>
<notice translate="true">Depends on design theme.</notice>
<dataType>boolean</dataType>
<label translate="true">Used in Custom</label>
<dataScope>used_in_custom</dataScope>
</settings>
<formElements>
<checkbox>
<settings>
<valueMap>
<map name="false" xsi:type="number">0</map>
<map name="true" xsi:type="number">1</map>
</valueMap>
<prefer>toggle</prefer>
</settings>
</checkbox>
</formElements>
</field>
</fieldset>
</form>


enter image description here










share|improve this question



























    up vote
    1
    down vote

    favorite












    Go to : Store -> Attributes -> Product -> Edit attribute



    I want to add custom dropdown as like Used in Product Listing dropdown.



    I added it. But, It's display in Properties tab instead of Storefront Properties tab.



    Please help me how to add that in Properties tab.



    I upload my code and screenshot here.




    CompanyNameModuleNameBlockAdminhtmlProductAttributeEditTabFront.php




    <?php

    namespace CompanyNameModuleNameBlockAdminhtmlProductAttributeEditTab;

    class Front extends MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront

    protected function _prepareForm()


    parent::_prepareForm();
    $attributeObject = $this->_coreRegistry->registry('entity_attribute');
    $form = $this->_formFactory->create(
    ['data' => ['id' => 'edit_form', 'action' => $this->getData('action'), 'method' => 'post']]
    );

    $yesnoSource = $this->_yesNo->toOptionArray();
    $fieldset = $form->addFieldset(
    'front_fieldset',
    ['legend' => __('Storefront Properties'), 'collapsable' => $this->getRequest()->has('popup')]
    );
    $fieldset->addField(
    'used_in_custom',
    'select',
    [
    'name' => 'used_in_custom',
    'label' => __('Used in Custom'),
    'title' => __('Used in Custom'),
    'note' => __('Depends on design theme.'),
    'values' => $yesnoSource,
    ]
    );
    $this->setForm($form);
    return MagentoBackendBlockWidgetFormGeneric::_prepareForm();





    CompanyName/ModuleName/view/adminhtml/ui_component/product_attribute_add_form.xml




    <?xml version="1.0" encoding="UTF-8"?>
    <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <fieldset name="front_fieldset">
    <field name="used_in_custom" sortOrder="130" formElement="checkbox">
    <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
    <item name="default" xsi:type="number">1</item>
    </item>
    </argument>
    <settings>
    <notice translate="true">Depends on design theme.</notice>
    <dataType>boolean</dataType>
    <label translate="true">Used in Custom</label>
    <dataScope>used_in_custom</dataScope>
    </settings>
    <formElements>
    <checkbox>
    <settings>
    <valueMap>
    <map name="false" xsi:type="number">0</map>
    <map name="true" xsi:type="number">1</map>
    </valueMap>
    <prefer>toggle</prefer>
    </settings>
    </checkbox>
    </formElements>
    </field>
    </fieldset>
    </form>


    enter image description here










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Go to : Store -> Attributes -> Product -> Edit attribute



      I want to add custom dropdown as like Used in Product Listing dropdown.



      I added it. But, It's display in Properties tab instead of Storefront Properties tab.



      Please help me how to add that in Properties tab.



      I upload my code and screenshot here.




      CompanyNameModuleNameBlockAdminhtmlProductAttributeEditTabFront.php




      <?php

      namespace CompanyNameModuleNameBlockAdminhtmlProductAttributeEditTab;

      class Front extends MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront

      protected function _prepareForm()


      parent::_prepareForm();
      $attributeObject = $this->_coreRegistry->registry('entity_attribute');
      $form = $this->_formFactory->create(
      ['data' => ['id' => 'edit_form', 'action' => $this->getData('action'), 'method' => 'post']]
      );

      $yesnoSource = $this->_yesNo->toOptionArray();
      $fieldset = $form->addFieldset(
      'front_fieldset',
      ['legend' => __('Storefront Properties'), 'collapsable' => $this->getRequest()->has('popup')]
      );
      $fieldset->addField(
      'used_in_custom',
      'select',
      [
      'name' => 'used_in_custom',
      'label' => __('Used in Custom'),
      'title' => __('Used in Custom'),
      'note' => __('Depends on design theme.'),
      'values' => $yesnoSource,
      ]
      );
      $this->setForm($form);
      return MagentoBackendBlockWidgetFormGeneric::_prepareForm();





      CompanyName/ModuleName/view/adminhtml/ui_component/product_attribute_add_form.xml




      <?xml version="1.0" encoding="UTF-8"?>
      <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
      <fieldset name="front_fieldset">
      <field name="used_in_custom" sortOrder="130" formElement="checkbox">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="default" xsi:type="number">1</item>
      </item>
      </argument>
      <settings>
      <notice translate="true">Depends on design theme.</notice>
      <dataType>boolean</dataType>
      <label translate="true">Used in Custom</label>
      <dataScope>used_in_custom</dataScope>
      </settings>
      <formElements>
      <checkbox>
      <settings>
      <valueMap>
      <map name="false" xsi:type="number">0</map>
      <map name="true" xsi:type="number">1</map>
      </valueMap>
      <prefer>toggle</prefer>
      </settings>
      </checkbox>
      </formElements>
      </field>
      </fieldset>
      </form>


      enter image description here










      share|improve this question













      Go to : Store -> Attributes -> Product -> Edit attribute



      I want to add custom dropdown as like Used in Product Listing dropdown.



      I added it. But, It's display in Properties tab instead of Storefront Properties tab.



      Please help me how to add that in Properties tab.



      I upload my code and screenshot here.




      CompanyNameModuleNameBlockAdminhtmlProductAttributeEditTabFront.php




      <?php

      namespace CompanyNameModuleNameBlockAdminhtmlProductAttributeEditTab;

      class Front extends MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront

      protected function _prepareForm()


      parent::_prepareForm();
      $attributeObject = $this->_coreRegistry->registry('entity_attribute');
      $form = $this->_formFactory->create(
      ['data' => ['id' => 'edit_form', 'action' => $this->getData('action'), 'method' => 'post']]
      );

      $yesnoSource = $this->_yesNo->toOptionArray();
      $fieldset = $form->addFieldset(
      'front_fieldset',
      ['legend' => __('Storefront Properties'), 'collapsable' => $this->getRequest()->has('popup')]
      );
      $fieldset->addField(
      'used_in_custom',
      'select',
      [
      'name' => 'used_in_custom',
      'label' => __('Used in Custom'),
      'title' => __('Used in Custom'),
      'note' => __('Depends on design theme.'),
      'values' => $yesnoSource,
      ]
      );
      $this->setForm($form);
      return MagentoBackendBlockWidgetFormGeneric::_prepareForm();





      CompanyName/ModuleName/view/adminhtml/ui_component/product_attribute_add_form.xml




      <?xml version="1.0" encoding="UTF-8"?>
      <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
      <fieldset name="front_fieldset">
      <field name="used_in_custom" sortOrder="130" formElement="checkbox">
      <argument name="data" xsi:type="array">
      <item name="config" xsi:type="array">
      <item name="default" xsi:type="number">1</item>
      </item>
      </argument>
      <settings>
      <notice translate="true">Depends on design theme.</notice>
      <dataType>boolean</dataType>
      <label translate="true">Used in Custom</label>
      <dataScope>used_in_custom</dataScope>
      </settings>
      <formElements>
      <checkbox>
      <settings>
      <valueMap>
      <map name="false" xsi:type="number">0</map>
      <map name="true" xsi:type="number">1</map>
      </valueMap>
      <prefer>toggle</prefer>
      </settings>
      </checkbox>
      </formElements>
      </field>
      </fieldset>
      </form>


      enter image description here







      magento2 magento-2.2.5 custom-field ui-form






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 17 at 9:42









      Emipro Technologies Pvt. Ltd.

      2,157722




      2,157722




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          Try via plugin method:




          CompanyName/ModuleName/etc/adminhtml/di.xml




          <?xml version="1.0"?>
          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
          <type name="MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront">
          <plugin name="companyname_attribute_edit_form" type="CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTabFront" sortOrder="1"/>
          </type>
          </config>



          CompanyName/ModuleName/Plugin/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php




          <?php
          namespace CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTab;

          class Front


          /**
          * @var Yesno
          */
          protected $_yesNo;

          /**
          * @param MagentoConfigModelConfigSourceYesno $yesNo
          */
          public function __construct(
          MagentoConfigModelConfigSourceYesno $yesNo
          )
          $this->_yesNo = $yesNo;


          /**
          * Get form HTML
          *
          * @return string
          */
          public function aroundGetFormHtml(
          MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront $subject,
          Closure $proceed
          )


          $yesnoSource = $this->_yesNo->toOptionArray();
          $form = $subject->getForm();
          $fieldset = $form->getElement('front_fieldset');
          $fieldset->addField(
          'used_in_custom',
          'select',
          [
          'name' => 'used_in_custom',
          'label' => __('Used in Custom'),
          'title' => __('Used in Custom'),
          'note' => __('Depends on design theme.'),
          'values' => $yesnoSource,
          ]
          );
          return $proceed();




          After run command : php bin/magento setup:di:compile






          share|improve this answer




















          • Thanks Man :) It's working. Can you please give me one more answer ? How to save that value on save action ? that use_in_custom column available in catalog_eav_attribute table.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:47










          • let me check and know you
            – Abdul
            Aug 17 at 10:50










          • Okay sure.... :)
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:51










          • have you created custom field " use_in_custom" in catalog_eav_attribute table?
            – Abdul
            Aug 17 at 11:04










          • Yes... It's already created.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 11:04










          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          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%2f238719%2fmagento-2-2-5-add-custom-field-in-product-attribute-add-form%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          3
          down vote



          accepted










          Try via plugin method:




          CompanyName/ModuleName/etc/adminhtml/di.xml




          <?xml version="1.0"?>
          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
          <type name="MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront">
          <plugin name="companyname_attribute_edit_form" type="CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTabFront" sortOrder="1"/>
          </type>
          </config>



          CompanyName/ModuleName/Plugin/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php




          <?php
          namespace CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTab;

          class Front


          /**
          * @var Yesno
          */
          protected $_yesNo;

          /**
          * @param MagentoConfigModelConfigSourceYesno $yesNo
          */
          public function __construct(
          MagentoConfigModelConfigSourceYesno $yesNo
          )
          $this->_yesNo = $yesNo;


          /**
          * Get form HTML
          *
          * @return string
          */
          public function aroundGetFormHtml(
          MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront $subject,
          Closure $proceed
          )


          $yesnoSource = $this->_yesNo->toOptionArray();
          $form = $subject->getForm();
          $fieldset = $form->getElement('front_fieldset');
          $fieldset->addField(
          'used_in_custom',
          'select',
          [
          'name' => 'used_in_custom',
          'label' => __('Used in Custom'),
          'title' => __('Used in Custom'),
          'note' => __('Depends on design theme.'),
          'values' => $yesnoSource,
          ]
          );
          return $proceed();




          After run command : php bin/magento setup:di:compile






          share|improve this answer




















          • Thanks Man :) It's working. Can you please give me one more answer ? How to save that value on save action ? that use_in_custom column available in catalog_eav_attribute table.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:47










          • let me check and know you
            – Abdul
            Aug 17 at 10:50










          • Okay sure.... :)
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:51










          • have you created custom field " use_in_custom" in catalog_eav_attribute table?
            – Abdul
            Aug 17 at 11:04










          • Yes... It's already created.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 11:04














          up vote
          3
          down vote



          accepted










          Try via plugin method:




          CompanyName/ModuleName/etc/adminhtml/di.xml




          <?xml version="1.0"?>
          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
          <type name="MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront">
          <plugin name="companyname_attribute_edit_form" type="CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTabFront" sortOrder="1"/>
          </type>
          </config>



          CompanyName/ModuleName/Plugin/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php




          <?php
          namespace CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTab;

          class Front


          /**
          * @var Yesno
          */
          protected $_yesNo;

          /**
          * @param MagentoConfigModelConfigSourceYesno $yesNo
          */
          public function __construct(
          MagentoConfigModelConfigSourceYesno $yesNo
          )
          $this->_yesNo = $yesNo;


          /**
          * Get form HTML
          *
          * @return string
          */
          public function aroundGetFormHtml(
          MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront $subject,
          Closure $proceed
          )


          $yesnoSource = $this->_yesNo->toOptionArray();
          $form = $subject->getForm();
          $fieldset = $form->getElement('front_fieldset');
          $fieldset->addField(
          'used_in_custom',
          'select',
          [
          'name' => 'used_in_custom',
          'label' => __('Used in Custom'),
          'title' => __('Used in Custom'),
          'note' => __('Depends on design theme.'),
          'values' => $yesnoSource,
          ]
          );
          return $proceed();




          After run command : php bin/magento setup:di:compile






          share|improve this answer




















          • Thanks Man :) It's working. Can you please give me one more answer ? How to save that value on save action ? that use_in_custom column available in catalog_eav_attribute table.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:47










          • let me check and know you
            – Abdul
            Aug 17 at 10:50










          • Okay sure.... :)
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:51










          • have you created custom field " use_in_custom" in catalog_eav_attribute table?
            – Abdul
            Aug 17 at 11:04










          • Yes... It's already created.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 11:04












          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          Try via plugin method:




          CompanyName/ModuleName/etc/adminhtml/di.xml




          <?xml version="1.0"?>
          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
          <type name="MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront">
          <plugin name="companyname_attribute_edit_form" type="CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTabFront" sortOrder="1"/>
          </type>
          </config>



          CompanyName/ModuleName/Plugin/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php




          <?php
          namespace CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTab;

          class Front


          /**
          * @var Yesno
          */
          protected $_yesNo;

          /**
          * @param MagentoConfigModelConfigSourceYesno $yesNo
          */
          public function __construct(
          MagentoConfigModelConfigSourceYesno $yesNo
          )
          $this->_yesNo = $yesNo;


          /**
          * Get form HTML
          *
          * @return string
          */
          public function aroundGetFormHtml(
          MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront $subject,
          Closure $proceed
          )


          $yesnoSource = $this->_yesNo->toOptionArray();
          $form = $subject->getForm();
          $fieldset = $form->getElement('front_fieldset');
          $fieldset->addField(
          'used_in_custom',
          'select',
          [
          'name' => 'used_in_custom',
          'label' => __('Used in Custom'),
          'title' => __('Used in Custom'),
          'note' => __('Depends on design theme.'),
          'values' => $yesnoSource,
          ]
          );
          return $proceed();




          After run command : php bin/magento setup:di:compile






          share|improve this answer












          Try via plugin method:




          CompanyName/ModuleName/etc/adminhtml/di.xml




          <?xml version="1.0"?>
          <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
          <type name="MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront">
          <plugin name="companyname_attribute_edit_form" type="CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTabFront" sortOrder="1"/>
          </type>
          </config>



          CompanyName/ModuleName/Plugin/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php




          <?php
          namespace CompanyNameModuleNamePluginBlockAdminhtmlProductAttributeEditTab;

          class Front


          /**
          * @var Yesno
          */
          protected $_yesNo;

          /**
          * @param MagentoConfigModelConfigSourceYesno $yesNo
          */
          public function __construct(
          MagentoConfigModelConfigSourceYesno $yesNo
          )
          $this->_yesNo = $yesNo;


          /**
          * Get form HTML
          *
          * @return string
          */
          public function aroundGetFormHtml(
          MagentoCatalogBlockAdminhtmlProductAttributeEditTabFront $subject,
          Closure $proceed
          )


          $yesnoSource = $this->_yesNo->toOptionArray();
          $form = $subject->getForm();
          $fieldset = $form->getElement('front_fieldset');
          $fieldset->addField(
          'used_in_custom',
          'select',
          [
          'name' => 'used_in_custom',
          'label' => __('Used in Custom'),
          'title' => __('Used in Custom'),
          'note' => __('Depends on design theme.'),
          'values' => $yesnoSource,
          ]
          );
          return $proceed();




          After run command : php bin/magento setup:di:compile







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 17 at 10:39









          Abdul

          7,5201934




          7,5201934











          • Thanks Man :) It's working. Can you please give me one more answer ? How to save that value on save action ? that use_in_custom column available in catalog_eav_attribute table.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:47










          • let me check and know you
            – Abdul
            Aug 17 at 10:50










          • Okay sure.... :)
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:51










          • have you created custom field " use_in_custom" in catalog_eav_attribute table?
            – Abdul
            Aug 17 at 11:04










          • Yes... It's already created.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 11:04
















          • Thanks Man :) It's working. Can you please give me one more answer ? How to save that value on save action ? that use_in_custom column available in catalog_eav_attribute table.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:47










          • let me check and know you
            – Abdul
            Aug 17 at 10:50










          • Okay sure.... :)
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 10:51










          • have you created custom field " use_in_custom" in catalog_eav_attribute table?
            – Abdul
            Aug 17 at 11:04










          • Yes... It's already created.
            – Emipro Technologies Pvt. Ltd.
            Aug 17 at 11:04















          Thanks Man :) It's working. Can you please give me one more answer ? How to save that value on save action ? that use_in_custom column available in catalog_eav_attribute table.
          – Emipro Technologies Pvt. Ltd.
          Aug 17 at 10:47




          Thanks Man :) It's working. Can you please give me one more answer ? How to save that value on save action ? that use_in_custom column available in catalog_eav_attribute table.
          – Emipro Technologies Pvt. Ltd.
          Aug 17 at 10:47












          let me check and know you
          – Abdul
          Aug 17 at 10:50




          let me check and know you
          – Abdul
          Aug 17 at 10:50












          Okay sure.... :)
          – Emipro Technologies Pvt. Ltd.
          Aug 17 at 10:51




          Okay sure.... :)
          – Emipro Technologies Pvt. Ltd.
          Aug 17 at 10:51












          have you created custom field " use_in_custom" in catalog_eav_attribute table?
          – Abdul
          Aug 17 at 11:04




          have you created custom field " use_in_custom" in catalog_eav_attribute table?
          – Abdul
          Aug 17 at 11:04












          Yes... It's already created.
          – Emipro Technologies Pvt. Ltd.
          Aug 17 at 11:04




          Yes... It's already created.
          – Emipro Technologies Pvt. Ltd.
          Aug 17 at 11:04

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f238719%2fmagento-2-2-5-add-custom-field-in-product-attribute-add-form%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?