Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [attributes]

Magento Entity Attributes

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

Magento 2 : How can I show this custom code in product view page?

I want to add custom size with input field. Like this image and total quantity add to cart.
Madhab Karmaker's user avatar
0 votes
0 answers
21 views

Magento 2: How to sort the attribute based on attribute label?

I have created a custom product attribute with drop-down option and added that attribute in schema.graphqls file but when checking the sorting is happening based on attribute option value not based on ...
MagentoDev's user avatar
0 votes
0 answers
17 views

Configurable variations showing all attributes ignores attribute set

Still pretty new to Magento however we're running into this issue regarding a large number of attributes from different product areas all showing. As I see it I enter to create a product, I select the ...
DomiGuy's user avatar
  • 11
0 votes
0 answers
7 views

Search conditions returning no results / breaking

I have a couple custom modules, one for adding eav attributes to customers, and I had a module that filtered those customers based on the attribute values, which 'was' working. When I say "filter&...
Jon's user avatar
  • 295
0 votes
0 answers
25 views

When attempting to search by keyword in the Magento 2 admin product grid, a gateway (504) timeout occurs

In Magento version 2.4.4-p2, I have 13,750 products. I've created a dropdown attribute with four values, which is the required attributes. After assigning attribute data to the products, it is ...
pavan kumarexinent's user avatar
0 votes
1 answer
25 views

Getting order extension attributes from Swissup Firecheckout?

I tried getting the checkout fields attributes which are included with the Swissup Firecheckout ... the developer said its possible with $order->getExtensionAttributes();. So I created some throw ...
user4095519's user avatar
0 votes
1 answer
67 views

Where to delete attribute values - Magento 2.4.6

We have an issue where we get data from a client. They are copying and pasting from websites so things are a mess atm. So we have attributes with sku values in them. I did try and delete them manually ...
Jan-petter Havna's user avatar
1 vote
1 answer
47 views

Magento2: Filtering the catalog by attribute does not accurately display configurable products

Catalog filtering by attribute not shows accurately products who are configurable, when one variant of this products have value matched to filter value, in the catalog are showing all variants of this ...
RatajX's user avatar
  • 11
1 vote
0 answers
26 views

How can I create another Block for my attributes like the dropdown in the picture? (Product page)

I need to add a dropdown as the one in the image. The current dropdown, shown in the image, contains some of my attributes. However, I need to add an additional dropdown for other attributes which is ...
Pernille Rasmussen's user avatar
0 votes
1 answer
40 views

How to create custom filter

I have a doubt, in my filters I need that, when clicking on a color, for example BLUE, it opens the variations of BLUE below (Navy Blue, Dark Blue..) I thought about making 2 attributes, one as master ...
Vinicius Araujo's user avatar
1 vote
1 answer
58 views

Display Text only for selected attribute values

In Headless magento project, there is condition written by previous developers in javascript if there is a value assigned for attribute : is_outlet_available , than some text should display, otherwise ...
Baby in Magento's user avatar
1 vote
1 answer
71 views

The value of Admin scope can't be empty

We have created Multiple Select Attribute with 3 values, it displaying in product edit page in backend as below : Now we want to create one more option for that attribute and that value should be ...
Baby in Magento's user avatar
0 votes
0 answers
24 views

Have configurable product display different information based on selected option?

I know the image for each option can be set and will change based on which is currently selected, but can something like this be done for other information on the products page? For example, ...
sitemap's user avatar
0 votes
1 answer
46 views

Multiselect option is not visible for the existing attribute

Previous developers created attribute with attribute code : is_outlet_available . Now we need Multiple Select option for that attribute. But the Multiple Select option is not visible now. Is there ...
Baby in Magento's user avatar
0 votes
0 answers
49 views

Remove attribute from configurable selection without recreating all child products

My client has a lot of products that I imported via CSV in their website. Many configurable products have this problem: The configurable product has n virtual products; the virtual products are ...
mugnozzo's user avatar
  • 103
0 votes
1 answer
379 views

Magento 2: How to add custom attributes to Customer group?

I want to add a custom attribute(image upload) here on customer groups. I have searched a lot. can anyone help me about that?
Amiyo Ghosh's user avatar
3 votes
3 answers
697 views

How to create and save a product with global scope set to use default values programmatically in Magento 2.4.6

I am trying to create and update products in the global scope while making sure any attributes are set to "use default" values set in global scope. The script is triggered by CRON so there ...
Fox's user avatar
  • 211
0 votes
0 answers
35 views

Magento 2.4.4 p4 save attribute brand logo error show A technical problem with the server created an error

Magento 2.4.4 p4 add brand option logo edit attribute page error show -> A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, ...
arun's user avatar
  • 3
4 votes
0 answers
287 views

How to group by elasticsearch results/Remove duplicate items from Elasticsearch results

I need to customize my elasticsearch query based on a custom attribute. I have a product attribute with code product_code, I have added this attribute to search and in elasticsearch results, the value ...
Jaimin Sutariya's user avatar
0 votes
0 answers
26 views

additional attributes are collected in one colomn,separated only with comma, i want split into separate columns into multiple columns

in magenro 2 All additional attributes are collected in one colomn, separated only with comma. Here is also "cost" placedi want to Extend the standard Entity Type 'Products', so '...
admin's user avatar
  • 1
1 vote
1 answer
153 views

EAV_ATTRIBUTE auto increment issue

I am trying to save product attributes in my Magento2 system and there may be 100 thousands of attributes. However, I see that the value specified as auto increment in the eav_attribute table is ...
Zalmoxis's user avatar
0 votes
1 answer
339 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, ...
Muckee's user avatar
  • 699
0 votes
1 answer
232 views

Magento2 issue Cannot process definition to array for type enum

<pre>Array ( [name] => status [default] => 'enabled' [type] => enum [nullable] => 0 [definition] => enum('enabled','disabled') [extra] => [comment] ...
Arjun's user avatar
  • 3,586
0 votes
1 answer
301 views

what does $this->_coreRegistry->registry('current_category') return in magento 2?

what does $this->_coreRegistry->registry('current_category') return in magento 2 ?
duies's user avatar
  • 3
0 votes
1 answer
162 views

How to add Product Custom Options for specific Product?

In Magento 2.4, I need to add "Date", "Time" fields for only One Product - That is Belongs to a Separate "Attribute Set" Called "Services". How to add this ...
Saravanan DS's user avatar
  • 1,126
0 votes
3 answers
1k views

Difference between Extension Attributes and Custom Attributes magento 2

I have a question in my mind what is the exact difference between Extension Attributes and Custom Attributes with the example? Is anyone here who can provide me with some ideas ?!
Rana Zain's user avatar
  • 658
0 votes
1 answer
206 views

what does this error mean and how to solve it "message":"Products \"%1\" and \"%2\" have the same set of attribute values.","parameters"

I did an upload and the simple skus were created, but the configurable sku shows this error and is not created. What does it mean and how can I fix it?
Erick Vernaza's user avatar
0 votes
1 answer
34 views

Display and link custom attribute in product page mangento 2

I have installed magneto 2.4.5 and trying to show manufacturer above product title . I have set custom theme using Luma as base , I have found many example of showing custom attribute on the product ...
tonysar's user avatar
  • 51
0 votes
1 answer
24 views

Sorting by one field in the collection does not occur

I have a plugin for the afterSetCollection method, which is hung on the Magento\Catalog\Block\Product\ProductList\Toolbar -> setCollection method. But for some reason, sorting occurs by the price, ...
Edward Brown's user avatar
1 vote
3 answers
381 views

Get possible sizes of product on product page in Magento 2

I am using the method public function afterToHtml(ProductView $subject, $html) on use Magento\Catalog\Block\Product\View as ProductView; to attach code on the product page for an item with multiple ...
Teun K's user avatar
  • 23
0 votes
1 answer
233 views

I need filter products by discount percentage in layared navigation (category page)

I have applied several price cart rules, I would like to see those frontend rules that work as a filter for discounted products. Someone can help me?
GerranoMargeno's user avatar
0 votes
2 answers
109 views

attribute on category page don´t show in second store view

I show a few attributes in my categories(list view) on my default store view and that is working well. Magento ver. 2.4.3 Now I created a second store view but unfortunately the attributes didn´t show ...
guest123's user avatar
0 votes
2 answers
481 views

Magento 2 Attribute Property - How 'user_defined' and 'system' attribute propety are different?

'system' attribute property tells if attribute is system defined or not. 'user_defined' attribute property tells if attribute is custom (define by developer) or not. It means, if 'system'=0, the ...
Wakar Ahamad's user avatar
3 votes
1 answer
95 views

How to manage many product attributes in Magento 2

We have a website and fetching the products from the third party ERP. In the third party ERP there are around 2100 product attributes. So we need to create all attributes in the Magento. So want to ...
Sunny Rahevar's user avatar
0 votes
1 answer
344 views

Remove attribute from the database

When the patch is uninstalled then the attribute is also removed from the database in the Magento 2 is it possible?
Rana Zain's user avatar
  • 658
0 votes
2 answers
389 views

Adding Custom attribute to Quote magento 2

I need to set a custom attribute to Quote entity. I saw some tutorials on how to set a custom attribute to quote_item, followed a similar structure, but it didn’t work. I'm on Magento 2.4.4 Here is ...
David Oliveira's user avatar
0 votes
2 answers
79 views

Create custom attribute for specifi product

i'm tring to create a custom attribute only for a specific product. Into apply_to field i have setted a list "configurable, grouped" , a array('configurable', 'grouped') or single type, but ...
user3665773's user avatar
2 votes
1 answer
157 views

Is it possible to get a collection containing the attributes of all entities (customers, products, etc)?

I'm trying to get a collection from the table eav/attribute (where product's attributes are present along with customer's, category's, etc). I already tried to retrieve it like a normal model ...
Matheus Delazeri's user avatar
1 vote
1 answer
93 views

How to enable 'Use in Layered Navigation' for EAV attribute?

The options are disabled and I would like to activate them. The module I am using is Mirasvit
Alessandro Scalesse's user avatar
2 votes
2 answers
175 views

Read product attribute from phtml file - Magento 2.4

I have created a simple phtml file to add a 3D viewer in the product page using the following code. I have also created a custom attribute for the product, called model_file_name in which I type the ...
Nicola Lepetit's user avatar
2 votes
1 answer
947 views

Custom attribute not present in getProduct()

I try to retrieve one custom attributes for a product and print in title.phtml. I have followed all the steps for create a custom attribute and add it to a group correctly and it appears in admin ...
madenGlitch's user avatar
2 votes
0 answers
52 views

Filters don't hide out-of-stock products

I have a couple of custom filters, size and warehouse availability. When I select for example, size "XS" and "Warehouse1" I still see the product in the catalog that has size XS in ...
Захар Joe's user avatar
1 vote
0 answers
142 views

How to fetch extension attributes from Magento checkout page

I added custom address field in magento checkout and i want to save it to sale_order and qoute table. I follow this tutorial on how to add and save custom field in magento checkout. https://...
John Ivan C Eslabra's user avatar
0 votes
1 answer
267 views

How to retrieve custom product attributes through product description or short description using phtml templates?

Using: Magento 2.4.5 Community Edition I currently have two custom phtml blocks {short_description.phtml, description.phtml} located in app/code/Vendor/Theme/view/frontend/templates. As an example, ...
AleBalari's user avatar
1 vote
0 answers
88 views

ERROR Illegal offset type on reindexing catalog_product_attribute. Cant reindex product attributes

Upgraded from Magento2.4.2pt1 to Magento2.4.4-pt1. Now reindexing from SSH I am getting error with reindexing catalog_product_attribute. php -d memory_limit=2G bin/magento indexer:reindex ...
Jonathan's user avatar
  • 113
3 votes
1 answer
211 views

Magento 2 : How to fetch custom input data in product attribute form

I have created plugin for add textbox in product attribute form. di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Darshit's user avatar
  • 53
2 votes
1 answer
151 views

how to copy customer attribute values of phone number attribute to mobile number attribute using CLI Command in magento2

After migration of magento1 to 2 i am getting the issue.The Phone Number Attribute has the values.But I want that values in my new attribute Mobile Number. how to copy customer attribute values of ...
Benit's user avatar
  • 23
1 vote
0 answers
286 views

Magento 2.4 catalog search search for products by name attribute only

I need the magento search engine to only take into account the "name" attribute to perform the search, could someone help me please? I found a way to modify the search parameters with the ...
GStiven's user avatar
  • 41
0 votes
2 answers
1k views

Special Price From Date attribute not showing

On the product edit page, if I click on the Advanced pricing link, the modal/slide-over panel comes in to show additional (editable) details. However... the special_from_date and special_to_date are ...
Drew's user avatar
  • 141
0 votes
1 answer
375 views

How to get custom attribute value in magento2

How to get custom attribute value in magento2
Benit's user avatar
  • 23

1
2 3 4 5
45