Questions tagged [attribute-set]

Denotes questions regarding Magento Attribute Set

59 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
2answers
2k views

Magento 2: Import/Export Product Attribute Set & it's Attributes

I refer Magento 2 - Export/Import Product Attributes but no one answered :( I have already created new Attribute Set & it's Attributes. I have checked Magento Default Import/Export for Products. ...
4
votes
1answer
461 views

Magento 2 hardcoded attribute sets

Is there any reason why Attribute sets are hardcoded in magento 2 in interfaces? Example in Magento\Customer\Api\CustomerMetadataInterface has const ATTRIBUTE_SET_ID_CUSTOMER=1 Magento\Rma\Api\...
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
36 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 ...
3
votes
0answers
163 views

Backend Product “General” tab disappearing

Disclaimer: I'm not having quite the same problem as described here What I've done is add an Attribute using Stores > Attributes > Product. In there I entered a name, changed Storefront Properties > ...
3
votes
0answers
84 views

Magento 2.0 rollback to Magento 1.9x - question about attributes

Being a new magento "developer" (use quotes because honestly, I can barely navigate the admin let alone build this site properly!) I still have tons to learn. Recently tried to procure cheap hosting ...
2
votes
0answers
41 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
1answer
166 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?
2
votes
1answer
98 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.
2
votes
0answers
169 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?
2
votes
1answer
194 views

Magento 2:Msrp in list page

I have extended the phtml file /vendor/magento/module-catalog/templates/product/price/amount/default.phtml`. I want to get the msrp price and attribute set id in the extended template in both list ...
2
votes
0answers
31 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
0answers
777 views

Migration: How can I map own product attributes and attributesets in Magento 2?

I tried several migration ways for products from Magento 1 to Magento 2: Data-Migration-Tool by Magento Including mapping but only for documents (tables) and fields (table columns). Another problem ...
2
votes
1answer
152 views

Hide attribute type dropdown if no value

I use this code to hide attributes when they do not have data: <?php foreach ($_additional['items'] as $_data): ?> <?php $_attribute = $_product->getResource()->...
1
vote
0answers
16 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 ...
1
vote
1answer
35 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 ...
1
vote
0answers
43 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::...
1
vote
0answers
116 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?
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 ...
1
vote
0answers
108 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?
1
vote
1answer
526 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
0answers
329 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 ...
1
vote
0answers
72 views

Magento 2 - many attribute set, bad admin catalog perfomace

I'm using Magento 2.1.3. Everything had worked ok till I've imported bunch of attributes and attribute sets. Now I have 74 attribute set, and 705 attributes. I've imported these via Store Manager. ...
1
vote
0answers
26 views

Add property to AttributeSet class/database

I'm working on an import algorithm and I have to keep different IDs to identify attribute-sets at a later time. Is there an option to extend the class/database-object of attribute-sets? I mean not ...
1
vote
0answers
14 views

Scroll 100's of attribute sets when creating a new product

I have to create 100's of different attribute sets for our products. To filter all these products I use: first filter: scope area second filter: application So, when I have to create a new product, ...
1
vote
1answer
146 views

merge two attribute sets to one attribute set

Except deleting one attribute set and merge its attributes to the other attribute set. Is there any easy way to merge two attribute sets to just one attribute set for Magento 1.9.2?
1
vote
1answer
212 views

Add attribute group to only 1 attribute set

I use this code to add attribute group 'test1' into attribute set 'test'. But it always add to all attribute sets. $attributeSetId = $model->getAttributeSetId('catalog_product','test'); $...
1
vote
2answers
787 views

What is the difference between eav/attribute and eav/entity_attribute?

Looking at eav_setup file and trying to understand the difference between the eav/attribute and eav/entity_attribute table. If I have to guess, eav/attribute is the entity that represents the ...
1
vote
2answers
322 views

Compare attribute value of different attribute sets

What I'm trying to accomplish: I have 2 types of products. Rental cars Rental companies (of those cars) When comparing rental cars I want to show the rental cars attributes but also the attributes ...
1
vote
0answers
94 views

Add new Attributes with Add more button

Hi I need to create a new attribute set in Products in which will contain a text area and an Image. How do I make it have an Add more button in which it will create another set of text area and image ...
1
vote
0answers
84 views

Creating default attribute values for an attribute set

Let's say I have an attribute set for "cats" and attribute set for "dogs." I want each attribute set to automatically populate my product attributes with a set of default values that are different. ...
1
vote
2answers
449 views

Magento hide attribute group if included attribute got no data

We use this way to display attribute group names on the additional information tab on product page. Currently when a attribute got no data, the entire attribute will be hidden. I want to do the same ...
0
votes
0answers
33 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?
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
43 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 ...
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
16 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 ...
0
votes
1answer
60 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
34 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.
0
votes
1answer
504 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 ...
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 ...
0
votes
1answer
616 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
0
votes
1answer
35 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(...
0
votes
0answers
380 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 ...
0
votes
1answer
367 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 ...
0
votes
1answer
627 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
0answers
401 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: ...