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;
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
add a comment |
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
add a comment |
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
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
magento-1.7 attributes products-management category product-list
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
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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');
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 fromCatalog->Attributes->Manage attributes
. Then just add the grid column with the correct type. The type depends on the attribute type. It can betext
,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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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');
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 fromCatalog->Attributes->Manage attributes
. Then just add the grid column with the correct type. The type depends on the attribute type. It can betext
,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
add a comment |
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');
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 fromCatalog->Attributes->Manage attributes
. Then just add the grid column with the correct type. The type depends on the attribute type. It can betext
,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
add a comment |
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');
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');
edited Apr 13 '17 at 12:55
Community♦
1
1
answered May 14 '13 at 9:02
Marius♦Marius
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 fromCatalog->Attributes->Manage attributes
. Then just add the grid column with the correct type. The type depends on the attribute type. It can betext
,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
add a comment |
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 fromCatalog->Attributes->Manage attributes
. Then just add the grid column with the correct type. The type depends on the attribute type. It can betext
,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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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