Questions tagged [attribute-set]

Denotes questions regarding Magento Attribute Set

Filter by
Sorted by
Tagged with
12
votes
5answers
11k views

How to show the drop down attribute value using getData() method in magento 2?

When I try to get data from the material attribute like $_product->getData('material'), it shows the integer value. How can I convert it to the actual front-end value and in which file do I have to ...
12
votes
1answer
17k views

magento 2 - How to get attribute set name in product listing and product detail page

How can we retrieve the attribute set name for a product. I want to use it on product detail and listing page.
15
votes
2answers
38k views

How to export all attributes and attribute sets from one magento installation and import to other installation?

I need to export all the product attributes and attribute sets from my current website (Enterprise Edition 1.12.0.0) and import all of them to a new website (CE 1.8). I've gone through these: ...
18
votes
2answers
5k views

Configurable products and attribute set

TL; DR: Is there any reason why the simple products associated to a configurable product have to be in the same attribute set as the configurable product itself? I mean, is there any technical reason? ...
1
vote
0answers
129 views

Manage Attribute Sets :: How to solve Magento 1.9.2.3 Unassigned Attributes Fields Empty?

After added new attributes, Unassigned Attributes field is empty, ver Magento 1.9.2.3 Note : What are all the possibilities of error?
10
votes
2answers
16k views

Add Custom attributes to Custom attribute set programmatically

Hi Could someone help me with this? I created a custom attribute set and custom attribute as $installer = $this; /* @var $installer Mage_Eav_Model_Entity_Setup */ $installer->startSetup(); //...
3
votes
3answers
3k views

magento2 create customer attribute

Anyone Can help me, I want to add customer Attribute and i have put my code as below.I have installed it, not getting any error but noting happened. Customer/Attrib/Setup/InstallData.php <?php ...
1
vote
1answer
5k views

How to change product name in quote item dynamically

Is it possible to add several the same product times to the cart with a different name? I did with different price, but I have not managed to do it with a different name. I used an observer "...
4
votes
3answers
2k views

How to sort the Attribute Set list on the Manage Products Grid dropdown menu?

We are using Magento 1.8.1. When I navigate to the Catalog > Manage Products grid view of our products, I see the Attribute Set column, which displays as a selectable dropdown menu. The challenge we ...
1
vote
1answer
2k views

Magento Change Product Attribute Set [duplicate]

I am adding products from web services for my Magento store.Problem is web services keep changing product attribute set with an interval of few days. I came to know that Attribute Set cannot be ...
5
votes
3answers
19k views

Create and add attribute group with attributes to all attribute sets

I need to create and add an attribute group with 6 attributes to all attributes sets in an existing install. I have found a script for creating an attribute group, this works great, but this can not ...
9
votes
2answers
2k views

Handling grouped product attributes

I'm working on building a new Magento shop (this is my first with Magento). I'm looking to replicate the look of an existing shop for my product pages, at least in terms of layout: http://www....
0
votes
2answers
4k views

In which table the attribute set ids are stored in magento 2

In which table the attribute set ids are stored in magento 2. I wish to save the product with its attribute set id . So Please provide me a solution
5
votes
3answers
608 views

How to Display Attribute value in magento 2 using getProducts() Method

When I Try to get data using below code,But return null value. $_attributeValue = $block->getProduct()->getResource()->getAttribute('weight_spices')->getFrontend()->getValue($block-&...
3
votes
2answers
2k views

Map attribute set based on Default attribute set programatically in magento 2

I have below script for creating attribute set, sets are created, but none of the attributes are assigned to based on the Default. How do i map the attributes sets to have the default attributes? ...
3
votes
1answer
38 views

Create an Attribute Set and create a Product Attribute in Product Details Group for only One Attribute Set

I asked a question here about this just over a week ago, but it took a little while to edit the post to include some code. The original post and code can be seen here I am able to create an ...
2
votes
0answers
34 views

Select Fabric First Then Color?

How can I set up attributes that if i pick this fabric, I get these color options, or if I select that fabric, I get a second list of colors?
2
votes
1answer
3k views

Magento 2 - Get Attribute Set by ID?

Is there a way from a phtml file to get the attributes of an attribute set given the set id?
2
votes
1answer
4k views

How do you remove the short product description from the product page Magento 2

I don't want the short description to show up on my product pages. How do I get rid of it? I am in Magento 2.1.2. I've tried deleting it from the attribute set but it won't let me remove it. Perhaps ...
2
votes
2answers
249 views

Different default value of an attribute in different attribute sets

I have attribute sets which I use when adding new products. All products have a weight attribute. I know you can set up a default value which will appear along all attribute sets with that attribute. ...
0
votes
1answer
3k views

“moving attributes” to attribute set programmatically

Is it possible to add a php file in root directory of magento? $attribute_set_name = 'your attribute set name here'; $group_name = 'your attribute group here'; $attribute_code = 'your attribute code ...
0
votes
1answer
2k views

Magento 2.2 - How to change default attribute set

I have two attributes sets Set1 Set2 While adding the product, By default Set1 is selected for Attribute Set. I want this default Attribute set to be Set2. How to change this attribute set. ...
0
votes
2answers
920 views

Sort products in frontend catalog view based on which attribute set they belong to

Using Magento CE 1.9.0.1. We're trying to find a way to sort products on our site based on which attribute set they were created with. We sells clothes on our site so we have a number of attribute ...
0
votes
1answer
497 views

add class by set attribute

How to add a class on the product page that has a specific set attributes? I know in xml <reference name="root">    <action method="addBodyClass">    <className>account-...