We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [attribute-set]

Denotes questions regarding Magento Attribute Set

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

Create a attribute set and add an attribute to it

How to create an attribute set set of the set attribute inherited from default and add a simple attribute to it that will be in the 'Content' group of the product Use UpgradeData because magento 2.2....
1
vote
0answers
19 views

Magento 2 exclude products from catalog price rules

I'm facing this problem. I have around 70 products in different categories and different attributes sets, but with the same common attribute (SKU). I have 3 catalog price rules which applies ...
0
votes
1answer
29 views

Discount attribute is not visible in attributes set

I am new to Magento 2 and I am wondering why discount attribute is not visible in the store -> Attribute set -> Default -> Groups. I checked that the discount attribute is present in the ...
0
votes
1answer
15 views

Magento 2 Exclude specific products from catalog price rules

how can I exclude specific products from Catalog Price Rules?. I have 3 price rules that applies to all products depending on the customer group, however I don't see anything in conditions that can ...
1
vote
1answer
36 views

Attribute set is missing after upgrade to magento 2.2.9 from 2.2.6 which is migrated website from magento 1.x

I had migrated Magento 1 website to Magento 2.2.6, so after some days i had upgraded my Magento version to 2.2.9, after upgrade i can see that my attributes sets are missing and when i checked into ...
0
votes
0answers
35 views

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.attribute_set_id'

I am trying to Filter the products based on vendorid with attribute_set_id. if i use print_r in the collection i am getting the result like below $objectManager = \Magento\Framework\App\...
0
votes
1answer
15 views

How can I add an attribute to all products?

How can I add an attribute to all products? Now i am adding this attribute to all sets. Is there a way it can be done faster?
5
votes
3answers
138 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-&...
0
votes
1answer
32 views

Magento does not use specified default value on attributes of type yes/no

I added a new attribute with Default Value set to Yes. I added the attribute to my attribute set and edited the product, but it is set to No by default. How can I fix it?
0
votes
1answer
116 views

Magento 2.3 - what's in the Default attribute set? (migration wiped it)

I have used the Data Migration Tool and now am cleaning my migrated attribute sets, wanting to remove attributes that dont make sense. My attribute sets have many groups called Migrated_ and a few ...
0
votes
0answers
32 views

Magento 2: Snippets for call (get) product attributes incl. helper via if statement in phtml to get the values in custom tab in product page

Trying to reproduce the phtml files content from M1.9 to M2.3. Calling a phtml file via: {{block class="Magento\Framework\View\Element\Template" name="delivery" template="Magento_Theme::html/...
0
votes
0answers
44 views

Attribute Groups not saving in magento 2 from admin panel

I am trying to add a group to an attribute set from admin panel, but it is not getting saved. But without adding any group name it is getting saved. When ever adding new group name and saving I am ...
1
vote
0answers
45 views

Attribute set sort order has gone - how to rebuild?

This code returned attributes set for dropdown menu - ordered by attribute set name ... $sets = Mage::getResourceModel('eav/entity_attribute_set_collection') ->setEntityTypeFilter(Mage::...
2
votes
0answers
42 views

Product dimensions visible on product configuration page

How to get these attributes visible on product configuration page? ts_dimensions_height ts_dimensions_length ts_dimensions_width I already added them to my attribute-set, set 'Visible' ...
3
votes
0answers
39 views

Magento hierarchical attributes

Does anyone know how to make product attributes visible only when they exist? Ex. you have a T-shirt, models are Spiderman and Thor (model attribute), and available on red, blue and green (color ...
3
votes
1answer
37 views

Mageno 2 after programatically removing product attribute group the attributes are no longer visible

(Magento 2.2.6) Hi, normally when you remove attribute group from an attribute set you still see the attributes that belonged to the group under "Unassigned Attributes" section of attribute set edit ...
4
votes
3answers
348 views

Save is deprecated when try to create attributes set

I try to create programmatically some attributes set. I find this code : $setup = $this->moduleDataSetup->getConnection(); $setup->startSetup(); $categorySetup = $this->...
3
votes
1answer
32 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 ...
0
votes
1answer
22 views

Need to remove a product page statement

There is a statement that needs to be removed from all products that are in 1 attribute set. It is not located in the short description but is located just below. Thoughts on where I might find and ...
0
votes
0answers
18 views

'Select Configurable Attributes section' screen does not appear when creating a new simple product

I've attached the attribute size to the attribute set clothing. However, when I want to create a new simple product, after Create product setting screen, I don't get the Select configurable Attributes ...
0
votes
0answers
19 views

Attribute Sets: pros & cons of using a few broad ones vs many specific ones?

Is it better to have a small number of very general Attribute Sets or a large number of very detailed Attribute Sets? Why? Obviously it depends on a lot of factors (eg: the number of products, how ...
1
vote
1answer
277 views

Why Product attribute assigned to all attribute set

While creating set of product attributes via program, it gets assigned to existing Product Sets as well as to newly created Product Sets. I don't want to assign those created attribute to any ...
0
votes
1answer
63 views

make custom attribute set as default selected

I have created new Attribute set say "My attribute set" . now when i add new product "default" one is selected by default , i want my custom attribute set to be selected as default one . i can not see ...
2
votes
1answer
169 views

Magento 2.2: How to disable Attribute Set on product page

I have about 5000 types of attributes and when loading the product page it stays locked for 20 seconds. How can I remove this field from the product page?
1
vote
0answers
117 views

Attribute Set Save button Error : Uncaught TypeError: Cannot read property 'strip' of null

If i try to click save attribute set button, i am getting error like, How can i solve the error?
2
votes
1answer
644 views

Create Attribute set in Magento 2 using Api

I am trying to create an attribute set and assign multiple attribute into it using rest api in Magento2. Please help me in this regard.
0
votes
1answer
521 views

Programmatically Delete Product Attribute Sets

Due to some shoddy code from a previous employee I have inherited a Magento 2 store with thousands of erroneous product attributes and hundreds of attribute sets. I've been able to delete the ...
2
votes
1answer
99 views

Cant drag back product Attribute to unassigned attribute in Magento 2.2

Cant drag back product Attribute to unassigned attribute in Magento 2.2 I am not removing a default attribute, its created by me Manufacturer.
1
vote
1answer
469 views

Magento2: How to get product collection by attribute or category id?

How to get product collection by multiple attributes? Magento 2.0
0
votes
0answers
28 views

Default Attribute Set has been populated with 'non default' Attributes - how to restore the factory default?

I'm practicing on a test shop (1.9.1.0) which has seen others taking first steps in Magento before. So, things are not in any sort of 'clean page' status any longer. One example: The default Attribute ...
1
vote
0answers
42 views

How to Update Configuration product attribute set in magento 2.1

I am trying to update my configuration product by programmatically and i want to assign attribute set to configurable product. I have also checked catalog_product_super_attribute table after ...
0
votes
2answers
2k views

Magento2 How can get the Attributes based on the Attribute Set Id or Attribute Set Name

In Magento2, How can get the all (product) Attributes based on the Attribute Set Id or Attribute Set Name in the Custom Product List Page.
0
votes
1answer
649 views

How to change the attribute set of the product via programatically in magento 2

I have created custom attributes for the attribute sets namely set1 and set2. I have created the products via script with attribute set name as set1. The products are saved successfully. But Now I ...
0
votes
1answer
2k views

How to export all the attribute and its options in magento 2

I wish to export all the attribute and its options in magento 2 via script. Please provide me a solution, How to export attributes and its options
1
vote
2answers
394 views

Magento 2.2.4 Cannot create configurable product - Infinite loading in Step 2 :Attribute Values , error in console

I cant create a configurable product in Magento 2.2.4 the configurable product setup wizard gets stuck in step two where it asks to add attribute values. I have tried creating static-content:deploy ...
0
votes
1answer
36 views

Add & Retrieve Custom Attribute Data from Attribute Set Collection

I need to add additional information for Magento attribute set, like when i add custom attribute for invoice like this: Mage::app()->setCurrentStore(Mage::getModel('core/store')->load(...
1
vote
3answers
3k views

How to get the attribute id by attribute code in magento 2

I have the attribute code, But how do I check whether the attribute is exist in the attribute set or not. Please provide me a solution how to get the attribute id from attribute code in magento 2
0
votes
1answer
2k 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
1
vote
1answer
542 views

Magento2 How to get the default attribute set id for Customer?

How to retrieve default attribute set ID for the customer? And also is it possible in the practical scenario to have multiple attribute sets for EAV entity type Customer? I know in the case of entity ...
0
votes
0answers
389 views

Are there any way to change attribute set using CSV in magento 2

I have added product using default attribute set now I want to change the attribute set, so I have create a csv using sku and new attribute set but it didn't work. This is my csv file format, sku ...
1
vote
0answers
111 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?
0
votes
1answer
377 views

How to add an product attribute to multiple attribute sets programmatically?

How to add an product attribute to multiple attribute sets programmatically? This question has been answerded for Magento 1, but how does it work with Magento 2? Edit: I create all my custom ...
2
votes
0answers
178 views

Magento 2 What limit for create Attributes sets and Attributes Groups?

Is anyone there to tell me how many we can create Attribute sets? How many can we create Attribute group? Is any limit for this?
0
votes
1answer
639 views

How can I add bulk attribute to attribute sets in Magento 2 programmatically

Everyone, How can I set attributes to attribute set in Magento 2 programmatically
0
votes
1answer
1k 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
1answer
341 views

Create Custom Attribute Group Within Custom Attribute Set Programatically On The Fly

I currently have a working method which allows me to create an attribute set on the fly. This works well: public function createAttributeSets($attribute_set_name) { $attr_set_id = $this->...
0
votes
1answer
65 views

Attribute Selection At the time of Creating Simple Product

I want to put attribute selection at the time of creating Simple Product like "Configurable Product". When admin select attributes only those attribute can be display at the time of product creation ...
3
votes
1answer
156 views

Get attribute groups from multiple attribute sets

I'm trying to retrieve in some custom code the existing attribute groups from multiple attribute sets. For this, I am using the Magento\Eav\Model\Attribute\GroupRepository::getList method with search ...
0
votes
0answers
410 views

Magento Attribute Set cant save Attributes

Servus, when i try to save Attributes to an Attribute Set, i get the confirmation that its been saved. When i reopen the Set, no attribute is saved to my Set. Log file says: ERR (3): Warning: ...
0
votes
0answers
66 views

can not create or edit attribute set

When I want to create a new attribute set, magento can not complete the process and the browser error "This page isn’t working" and if I want edit a attribute set that I created before magento error ...