Questions tagged [attribute-set]

Denotes questions regarding Magento Attribute Set

Filter by
Sorted by
Tagged with
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
107 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
29 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
51 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
29 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
33 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
39 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
39 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' ...
2
votes
0answers
30 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
34 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
244 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
30 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
21 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
15 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
232 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
54 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 ...
0
votes
0answers
32 views

Magento 2.2.5- In my attribute set price attribute is not present

Magento 2.2.5- In my Magento store, the price and visibility attributes are not present in the migration default attribute set.
2
votes
1answer
157 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
115 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
513 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
457 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
86 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
402 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
27 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
552 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
343 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
32 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
2answers
2k 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
464 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
358 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
98 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
346 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
158 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
594 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
298 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
62 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
151 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
385 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 ...
1
vote
1answer
513 views

Magento2 : getting 503 Service Unavailable error on change attribute set in product

In my magento2.x store when I change attribute set then the post request return "503 Service Unavailable" error in console. POST request is : /catalog/product/reload/id/296/type/configurable/store/...
1
vote
1answer
109 views

Get related products per attributeset ID

My products have a bunch of related products, some of which are in a separate attribute set. I want to split these out in two different views on view.phtml. I figured to need addAttributeToFilter and ...
5
votes
3answers
423 views

Create Product Programatically with different attribute sets

Current Feature Once we Click on Custom button "Button1" present in Original Product view page [ This original product is created with Attribute set id 1 ] , We are creating new Product ...
0
votes
1answer
123 views

Magento 2.1 Rest API save attribute group does not change attribute_set_id

Preconditions Magento 2.1.7 PHP 7.0.18 Steps to reproduce 1. Having a test attribute group: { "attribute_group_id": "103", "attribute_group_name": "Test", "attribute_set_id": 4, "...
1
vote
0answers
328 views

Magento : Layered Navigation on CMS Page is Only Filtering by 'Default Category'

I have a CMS page which displays products filtered by attribute (using 'Product List Plus' Magento extension widget). I am trying to get layered navigation to display on this CMS page to be able to ...