Questions tagged [attribute-set]
Denotes questions regarding Magento Attribute Set
239
questions
-1
votes
2
answers
71
views
Magento 2 Order collection filter by product set id
In Magento 2, I need to get order collection filter by date range and product set id.
I tried this way, not worked.
0
votes
1
answer
88
views
2.4.6: Filter available attribute sets according to product type, using a plugin
In my custom plugin, the InstallData.php script creates a custom attribute set. For the purposes of this Q&A, we will call it 'Custom Attribute Set #1'.
I would like the attribute set to only be ...
0
votes
1
answer
227
views
Magento 2.4: Programmatically add an attribute from the default set to a custom attribute
I'm aiming to programmatically create a custom attribute set during setup.
The attribute set should not inherit from the default set, but it should copy some of the default attributes.
For example, ...
0
votes
1
answer
552
views
How to retrieve characteristics attributes of a product in Magento 2 GraphQL API based on their attribute set?
In Magento 2, each product can be assigned with an attribute set, which varies based on the product category. My attribute set contains specific characteristics such as color and manufacturer, which I ...
1
vote
0
answers
37
views
Magento 2.3: Error on admin product save after changing attribute set
I am getting this error after I change the attribute set and save the product:
Fatal error: Uncaught Error: Call to a member function getBackendTable() on boolean in /chroot/home/aa8492ec/018d4ad51c....
0
votes
1
answer
10
views
Better Magento2 data management
At our company, we have a lot of products, almost all have color attribute assigned to them.
As a result of that we have a lot of color options (hundreds).
I was wondering if we can maybe manage this ...
1
vote
0
answers
65
views
Magento 2 we are unable to change attribute set from product edit
it shows an error in the exception log and the screen is stuck when trying to change the attribute set of the product
0
votes
0
answers
64
views
How to create a product with multiple variables for set a prices
I am struggling trying to create a product in magento with diferent prices
We will sell travel package but the price have to change in this 3 cases.
Season (more expensive in hight season)
3 ...
0
votes
2
answers
115
views
How to Delete Attribute Sets
I have a site where we have about 300 attribute sets that we are not using. I want to mass delete this attribute set but I can't find how to do that.
I will prefer an option where I can delete it from ...
0
votes
1
answer
19
views
Strange interaction between module and attribute sets
I faced an unusual problem on one of the live sites. The gift card module adds its "Gift Card by Amasty" option in the "Add product" menu and when the module behaves normally, it ...
1
vote
2
answers
973
views
Add block to order success page
I need to display a static block to success page depending on the attribute-set of products in the order
0
votes
1
answer
82
views
MySQL Query of catalog_product_super_link filtered by attribute_set_id
I want to export all fields from the catalog_product_super_link table, but filtered to exclude any products that have have a certain attribute_set (31 in this case).
This post (MySQL Query filtered by ...
0
votes
1
answer
54
views
How to get the correct label of an attribute on multistore
I have a piece of coding which works fine for the default store.
Now I created a multistore but this piece of coding is retrieving the default label name, but I want the labelname wich belongs to an ...
1
vote
1
answer
304
views
Custom Product View Based on Attribute Set Name
I am trying to create a different product view based on the Attribute Set Name (not ID, or specific attribute value). I've looked at a couple different tickets here already, and have tried to ...
0
votes
1
answer
480
views
API: Accessing All attributes associated to a Attribute-Group
So I'm in need to check to see if an attribute group contains a specific attribute_id. However using the API, there doesn't appear to be a specific endpoint which lists all attributes associated to a ...
2
votes
0
answers
44
views
Is it correct to use multiple Attribute Sets in one Category while uploading products? Magento 2
My Question is about Product Uploading!
Is it the right practice to use multiple 'Attribute Sets' in the same category for uploading products?
Why I am asking this is, we have more than thirty ...
0
votes
3
answers
899
views
Magento 2 - Field "Tax Class" not showing
I have the problem that for a custom new product type there are no taxes getting calculated and are always 0.
I found a solution here. It says there is a dropdown in the product details called Tax ...
0
votes
1
answer
2k
views
How to create product attribute group programatically in Magento 2 issue?
I would like to create 3 attribute sets and one attribute group assigned to the attributes sets created via the InstallData.
This is my InstallData content:
<?php
namespace Vendor\ModuleName\Setup;
...
0
votes
2
answers
852
views
how to get attribute_set_id in magento 2 custom collection
I have created custom table and display the values as grid in admin by UI component.In my custom table already I have SKU column .now I need attribute set id Name of the product in custom grid .how to ...
1
vote
1
answer
99
views
Check if product is in an attribute set by its ID
I want to get Attribute set ID in product page
Can you help me please
0
votes
1
answer
267
views
Magento 2.3.5 script to change attribute set groups name
We have a lot of attribute sets in our store 100+. And by default the general group name inside a attribute set is called "Product Details" we want to change/translate this text.
We already ...
1
vote
0
answers
29
views
Attribute with this code is not super in row(s) - Confirmed global setting and assigned to attribute set
I created the parent (super) and used the 'create configuration' to choose the attribute and create the children.
My skus are long, could this be causing the problem (i.e. 083-000022-Chartreuse Lime ...
0
votes
1
answer
343
views
how to find my new product's attribute into the MySql's table "sales_order_item" (magento2.5)
I have created a 'New Attribute' into the Product Attributes [/admin/catalog/product_attribute/] for products : [specificity_trait_type].
And then, I added this attribute into the my products [/admin/...
1
vote
1
answer
51
views
Magento2 Install data Custom attr set, attr group, attr
Here is my installation method. Why, after installation, in the default attribute set, I see only the attributes https://prnt.sc/s20b3a, https://prnt.sc/s20czw? They should not be here. How to fix?
...
0
votes
1
answer
371
views
How to Get product attribute set id by attribute set name in Magento 2?
I have a product attribute set name DSLR, in frontend page i need to get product collection filtered b this product attribute set
$dslrAttributeSetId = $this->getAttributeSetIdByName('DSLR'); //...
0
votes
1
answer
104
views
M2 - Get attribute set ID
I've looked through different posts and options but nothing that fits my question.
How can I get the Attribute set ID of the current product on the product detail page?
0
votes
1
answer
146
views
Attribute Set to much load in product page admin side in magento 2.3.3!
I have Magento site in 2.3.3 version, I have created the attribute set in the admin side using the default Magento attribute set option. - https://prnt.sc/qs3wiq
on my site like 100000+ products with ...
2
votes
0
answers
34
views
Adding new input fileds for attributes in a specific attribute group - Magento 2.3
I created a new attribute group 'Features' in the products section. I need to create two new fields (checkbox and text field) apart from the available option for attributes inside the group 'Features'....
1
vote
0
answers
43
views
How to display product attribute set in product list page via custom module in magento 2.3.3?
I am trying show product Attribute set in product listing page.I want to achieve via custom module.
can someone help to achieve this solution?
Thanks in advance.
0
votes
0
answers
20
views
CSV uploader throwing errors randomly for identical entries
I'm trying to upload 12000 SKU's (1000 at a time) using the CSV uploader.
I'm getting some random errors for identical data.
For example, every cell in the attribute_set_column has a 9, but I get ...
0
votes
0
answers
199
views
Magento - Set Custom Attribute not working in customer_register_success Observer
I am using the extension 'Customer Attributes'. I can modify values in the Magento backend in e.g. a controller. And I can read the values programmatically via PHP, but I can not set the values in my ...
1
vote
0
answers
54
views
M2 - Lots of product attributes and sets
We have a new webshop with photo camera's and all the accessories. We have 25+ attribute sets and the attributes sets have specific attributes (30+).
For example, a camera has the attribute set "...
1
vote
0
answers
116
views
Implementation of attribute moving to the selected group, selected set attribute
Tell me how to implement attribute transfer to the desired group.
I have attribute set
$categorySetup = $this->categorySetupFactory->create(['setup' => $setup]);
$...
0
votes
1
answer
179
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
0
answers
411
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
1
answer
64
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
1
answer
842
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
1
answer
205
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
0
answers
249
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
1
answer
19
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?
6
votes
4
answers
2k
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
1
answer
488
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
1
answer
653
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 ...
1
vote
0
answers
73
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
0
answers
58
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
0
answers
110
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
1
answer
89
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 ...
5
votes
3
answers
2k
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
1
answer
72
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
1
answer
25
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 ...