Questions tagged [attribute-set]

Denotes questions regarding Magento Attribute Set

4
votes
1answer
420 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
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 ...
2
votes
1answer
151 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
78 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
1answer
184 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
1answer
151 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
1answer
498 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
133 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
194 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
1answer
682 views

Show or hide Attribute that is used in layered navigation based on category

By default, if an attribute is set to Use in Layered Navigation > Filterable (with results), then this attribute will be shown on layered nav's of all categories /attribute-sets that use this ...
1
vote
1answer
618 views

how to set attribute seo meta title and description product

I have a catalog of 30,000 products on Magento, and I would make sure that the plugin I of seo (free) all products have tag, store name, category name. I turned on the network, to see how to build 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
1answer
49 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
1answer
391 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
1answer
509 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
31 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
1answer
333 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
555 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
142 views

Magento2 addViewsCount not working on Custom Product Attribute Set

addViewsCount function not working on Custom Attirbute set How to make it Working for all other product attribute sets ? As far as i am getting, it is setting the attribute set id to default ...
3
votes
0answers
154 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
34 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
25 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 ...
2
votes
0answers
149 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
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
738 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 ...
1
vote
0answers
28 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
107 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
92 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
0answers
321 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
13 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
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. ...
0
votes
0answers
23 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
29 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
0answers
14 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
16 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
0answers
28 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
0answers
243 views

Attribute Set Restriction for Configurable Product Magento 2

I have created a custom attribute set "Fabric". So now there are 2 attribute set's exists Default, and Fabric. When i went to create a configurable, there is option to select attribute set either ...
0
votes
0answers
113 views

Magento Update Configurable Product Attribute

I am trying to doing something like below. 1). Update Specific Attribute sets to Default. (It worked by using Extension on Git https://github.com/Flagbit/Magento-ChangeAttributeSet). 2). Now I also ...
0
votes
0answers
16 views

Is it possible to change the layout based on attribute set name?

We have many different types of products on our website and for this reason, I have multiple attribute sets (e.g. default, beds, chairs, sofas). All of the products under these attribute sets tend to ...
0
votes
0answers
23 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
0answers
73 views

How to show attribute values on configurable product variations

I have a configurable product with different sizes lets assume size 28 has a net weight(attribute value [type text field]) of 2.2 gms and it will increase for size 38 like 3.0. Now i'm facing the ...
0
votes
0answers
325 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
0answers
371 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
61 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 ...