How to add attributes set column to category products grid?How to add special price to category products grid?How to disable “Add to Cart” on specific products, and instead display “View Details” button in category list view?Position to be increased automatically in Position Column in Catalog > Manage Categories > Category ProductsBulk edit products by categoryhow can I create different attribute set for different category in magentoCategory Sorting Product list: How to take off position from attributes?How to assign product category during products importMagento 2: Import/Export Product Attribute Set & it's AttributesMagento 2 : Filter Product Grid Using Category In AdminIn magento2,Category Sorting Product list: How to remove position from attributes?

Peterhead Codes and Ciphers Club: Weekly Challenge

Starships without computers?

Did Wernher von Braun really have a "Saturn V painted as the V2"?

Number of matrices with bounded products of rows and columns

Meaning and structure of headline "Hair it is: A List of ..."

What causes burn marks on the air handler in the attic?

Show two plots together: a two dimensional curve tangent to the maxima of a three dimensional plot

Align (multiline text)-nodes with tikzlibrary 'positioning'

My new Acer Aspire 7 doesn't have a Legacy Boot option, what can I do to get it?

Land Registry Clause

How to translate 脑袋短路 into English?

Why should I pay for an SSL certificate?

Why don't politicians push for fossil fuel reduction by pointing out their scarcity?

Is "stainless" a bulk or a surface property of stainless steel?

Repurpose telephone line to ethernet

When does The Truman Show take place?

Can I check a small array of bools in one go?

Using は before 欲しい instead が

Saying something to a foreign coworker who uses "you people"

Control GPIO pins from C

What is the evidence on the danger of feeding whole blueberries and grapes to infants and toddlers?

How to detect a failed AES256 decryption programmatically?

Have made several mistakes during the course of my PhD. Can't help but feel resentment. Can I get some advice about how to move forward?

Indirect speech - breaking the rules of it



How to add attributes set column to category products grid?


How to add special price to category products grid?How to disable “Add to Cart” on specific products, and instead display “View Details” button in category list view?Position to be increased automatically in Position Column in Catalog > Manage Categories > Category ProductsBulk edit products by categoryhow can I create different attribute set for different category in magentoCategory Sorting Product list: How to take off position from attributes?How to assign product category during products importMagento 2: Import/Export Product Attribute Set & it's AttributesMagento 2 : Filter Product Grid Using Category In AdminIn magento2,Category Sorting Product list: How to remove position from attributes?






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








2















How to add attributes set column to



category products grid
under



Catalog -> Manage Categories -> Category_to_be_edited



I've added a special price since it was already available in the collection.



But I need to have the attribute set also



can someone help?










share|improve this question
































    2















    How to add attributes set column to



    category products grid
    under



    Catalog -> Manage Categories -> Category_to_be_edited



    I've added a special price since it was already available in the collection.



    But I need to have the attribute set also



    can someone help?










    share|improve this question




























      2












      2








      2








      How to add attributes set column to



      category products grid
      under



      Catalog -> Manage Categories -> Category_to_be_edited



      I've added a special price since it was already available in the collection.



      But I need to have the attribute set also



      can someone help?










      share|improve this question
















      How to add attributes set column to



      category products grid
      under



      Catalog -> Manage Categories -> Category_to_be_edited



      I've added a special price since it was already available in the collection.



      But I need to have the attribute set also



      can someone help?







      magento-1.7 attributes products-management category product-list






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 7 at 5:33









      Aasim Goriya

      3,4292 gold badges13 silver badges45 bronze badges




      3,4292 gold badges13 silver badges45 bronze badges










      asked May 14 '13 at 8:56









      ShathishShathish

      2,0542 gold badges28 silver badges55 bronze badges




      2,0542 gold badges28 silver badges55 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          3














          In the same module that you used for special price (explained here) you can add you attribute set also.

          Just add this to the collection init ->addAttributeToSelect('attribute_set_id') and the corresponding column in _prepareColumns().



          $sets = Mage::getResourceModel('eav/entity_attribute_set_collection')
          ->setEntityTypeFilter(Mage::getModel('catalog/product')->getResource()->getTypeId())
          ->load()
          ->toOptionHash();
          $this->addColumnAfter('set_name',
          array(
          'header'=> Mage::helper('catalog')->__('Attrib. Set Name'),
          'width' => '100px',
          'index' => 'attribute_set_id',
          'type' => 'options',
          'options' => $sets,
          ), 'name');





          share|improve this answer



























          • you're a PRO man! Thank you very much! how could i get to know about the attributes that can be added to filter the collection? eg.: addAttributeToSelect('attribute_set_id')

            – Shathish
            May 14 '13 at 9:11






          • 1





            You can basically add any attribute to the collection. Just get the attribute code from Catalog->Attributes->Manage attributes. Then just add the grid column with the correct type. The type depends on the attribute type. It can be text, options (for dropdowns and you need to specify a set of options), number, currency (for prices), and many others.

            – Marius
            May 14 '13 at 9:18













          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%2f3704%2fhow-to-add-attributes-set-column-to-category-products-grid%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          In the same module that you used for special price (explained here) you can add you attribute set also.

          Just add this to the collection init ->addAttributeToSelect('attribute_set_id') and the corresponding column in _prepareColumns().



          $sets = Mage::getResourceModel('eav/entity_attribute_set_collection')
          ->setEntityTypeFilter(Mage::getModel('catalog/product')->getResource()->getTypeId())
          ->load()
          ->toOptionHash();
          $this->addColumnAfter('set_name',
          array(
          'header'=> Mage::helper('catalog')->__('Attrib. Set Name'),
          'width' => '100px',
          'index' => 'attribute_set_id',
          'type' => 'options',
          'options' => $sets,
          ), 'name');





          share|improve this answer



























          • you're a PRO man! Thank you very much! how could i get to know about the attributes that can be added to filter the collection? eg.: addAttributeToSelect('attribute_set_id')

            – Shathish
            May 14 '13 at 9:11






          • 1





            You can basically add any attribute to the collection. Just get the attribute code from Catalog->Attributes->Manage attributes. Then just add the grid column with the correct type. The type depends on the attribute type. It can be text, options (for dropdowns and you need to specify a set of options), number, currency (for prices), and many others.

            – Marius
            May 14 '13 at 9:18















          3














          In the same module that you used for special price (explained here) you can add you attribute set also.

          Just add this to the collection init ->addAttributeToSelect('attribute_set_id') and the corresponding column in _prepareColumns().



          $sets = Mage::getResourceModel('eav/entity_attribute_set_collection')
          ->setEntityTypeFilter(Mage::getModel('catalog/product')->getResource()->getTypeId())
          ->load()
          ->toOptionHash();
          $this->addColumnAfter('set_name',
          array(
          'header'=> Mage::helper('catalog')->__('Attrib. Set Name'),
          'width' => '100px',
          'index' => 'attribute_set_id',
          'type' => 'options',
          'options' => $sets,
          ), 'name');





          share|improve this answer



























          • you're a PRO man! Thank you very much! how could i get to know about the attributes that can be added to filter the collection? eg.: addAttributeToSelect('attribute_set_id')

            – Shathish
            May 14 '13 at 9:11






          • 1





            You can basically add any attribute to the collection. Just get the attribute code from Catalog->Attributes->Manage attributes. Then just add the grid column with the correct type. The type depends on the attribute type. It can be text, options (for dropdowns and you need to specify a set of options), number, currency (for prices), and many others.

            – Marius
            May 14 '13 at 9:18













          3












          3








          3







          In the same module that you used for special price (explained here) you can add you attribute set also.

          Just add this to the collection init ->addAttributeToSelect('attribute_set_id') and the corresponding column in _prepareColumns().



          $sets = Mage::getResourceModel('eav/entity_attribute_set_collection')
          ->setEntityTypeFilter(Mage::getModel('catalog/product')->getResource()->getTypeId())
          ->load()
          ->toOptionHash();
          $this->addColumnAfter('set_name',
          array(
          'header'=> Mage::helper('catalog')->__('Attrib. Set Name'),
          'width' => '100px',
          'index' => 'attribute_set_id',
          'type' => 'options',
          'options' => $sets,
          ), 'name');





          share|improve this answer















          In the same module that you used for special price (explained here) you can add you attribute set also.

          Just add this to the collection init ->addAttributeToSelect('attribute_set_id') and the corresponding column in _prepareColumns().



          $sets = Mage::getResourceModel('eav/entity_attribute_set_collection')
          ->setEntityTypeFilter(Mage::getModel('catalog/product')->getResource()->getTypeId())
          ->load()
          ->toOptionHash();
          $this->addColumnAfter('set_name',
          array(
          'header'=> Mage::helper('catalog')->__('Attrib. Set Name'),
          'width' => '100px',
          'index' => 'attribute_set_id',
          'type' => 'options',
          'options' => $sets,
          ), 'name');






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:55









          Community

          1




          1










          answered May 14 '13 at 9:02









          MariusMarius

          172k30 gold badges333 silver badges708 bronze badges




          172k30 gold badges333 silver badges708 bronze badges















          • you're a PRO man! Thank you very much! how could i get to know about the attributes that can be added to filter the collection? eg.: addAttributeToSelect('attribute_set_id')

            – Shathish
            May 14 '13 at 9:11






          • 1





            You can basically add any attribute to the collection. Just get the attribute code from Catalog->Attributes->Manage attributes. Then just add the grid column with the correct type. The type depends on the attribute type. It can be text, options (for dropdowns and you need to specify a set of options), number, currency (for prices), and many others.

            – Marius
            May 14 '13 at 9:18

















          • you're a PRO man! Thank you very much! how could i get to know about the attributes that can be added to filter the collection? eg.: addAttributeToSelect('attribute_set_id')

            – Shathish
            May 14 '13 at 9:11






          • 1





            You can basically add any attribute to the collection. Just get the attribute code from Catalog->Attributes->Manage attributes. Then just add the grid column with the correct type. The type depends on the attribute type. It can be text, options (for dropdowns and you need to specify a set of options), number, currency (for prices), and many others.

            – Marius
            May 14 '13 at 9:18
















          you're a PRO man! Thank you very much! how could i get to know about the attributes that can be added to filter the collection? eg.: addAttributeToSelect('attribute_set_id')

          – Shathish
          May 14 '13 at 9:11





          you're a PRO man! Thank you very much! how could i get to know about the attributes that can be added to filter the collection? eg.: addAttributeToSelect('attribute_set_id')

          – Shathish
          May 14 '13 at 9:11




          1




          1





          You can basically add any attribute to the collection. Just get the attribute code from Catalog->Attributes->Manage attributes. Then just add the grid column with the correct type. The type depends on the attribute type. It can be text, options (for dropdowns and you need to specify a set of options), number, currency (for prices), and many others.

          – Marius
          May 14 '13 at 9:18





          You can basically add any attribute to the collection. Just get the attribute code from Catalog->Attributes->Manage attributes. Then just add the grid column with the correct type. The type depends on the attribute type. It can be text, options (for dropdowns and you need to specify a set of options), number, currency (for prices), and many others.

          – Marius
          May 14 '13 at 9:18

















          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%2f3704%2fhow-to-add-attributes-set-column-to-category-products-grid%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

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form