Questions tagged [attributes]

Magento Entity Attributes

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 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
23 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
54 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
56 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
36 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
21 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
133 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
2 votes
3 answers
255 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
  • 181
0 votes
0 answers
31 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
107 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
21 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
94 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
228 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
0 answers
24 views

Incorrect dipslay of size from Text Swatch attribute

we are having problem with correct display size from Text Swatch attribute. If the size is to long, text is displaced to next line with one line space. For example "30 - 34 cm". It does not ...
Michał Parma's user avatar
0 votes
1 answer
100 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,556
0 votes
1 answer
161 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
0 answers
19 views

How to add Product Attribute based on Attribute Set

In Magento 2.4, I need to add a product attribute only for one product, that is set to One Attribute Set. Is it possible to add for only one Attribute Set?
Saravanan DS's user avatar
  • 1,116
0 votes
1 answer
140 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,116
0 votes
3 answers
472 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
  • 618
0 votes
1 answer
67 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
31 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
0 answers
22 views

How to clear Price field in duplicate product in Magento 2

Please help me solve the task. I use Magento 2.4.1 You need to make sure that when creating a product using duplication, its price field is cleared or empty by default. I would appreciate any help!
Andrii's user avatar
  • 1
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
0 votes
0 answers
40 views

Magento 2 Exclude Paypal BuyNow button for certain products

Certain products cannot be paid with Paypal, we have a Custom Attribute with a Yes/No value. where can I create a simple query or css condition with a display=none? Thank you!
Franz's user avatar
  • 1
1 vote
3 answers
297 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
163 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
0 answers
19 views

Populate Custom Attribute in customer account information section with a value from custom table

I have a custom customer attribute that appears under the customer account section. What would be the steps to populate this attribute with data from the custom table programmatically in adminhtml? ...
Tebby's user avatar
  • 13
0 votes
2 answers
91 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
0 answers
30 views

Add Atribute to "Bulk Images, Price and Quantity" in configurable products

I would like to add a custom attribute to the configurable products as a unique value per product. (Step 3 Bulk Images, Price and Quantity) It now lets me set images, price and quantity in the product ...
YJB's user avatar
  • 1
0 votes
2 answers
323 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
86 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
253 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
  • 618
0 votes
2 answers
280 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
75 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
1 vote
1 answer
111 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
0 votes
1 answer
82 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
1 vote
2 answers
153 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
1 vote
1 answer
513 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
1 vote
0 answers
42 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
112 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
187 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
83 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
178 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
132 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
227 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
  • 31
0 votes
2 answers
804 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
  • 131
0 votes
1 answer
292 views

How to get custom attribute value in magento2

How to get custom attribute value in magento2
Benit's user avatar
  • 23
0 votes
1 answer
126 views

How to change the value "is_required" in the table eav_attribute in the entity_type_id "2" and with the attribute_code "lastname" programmatically

Good day people, I have been trying to change the value is_required in the table eav_attribute in the entity_type_id 2 and with the attribute_code lastname in Magento 2 but without success, this is ...
Jesús Iasenzaniro's user avatar
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 ...
instalab's user avatar

1
2 3 4 5
45