Questions tagged [attributes]

Magento Entity Attributes

664 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14
votes
1answer
691 views

Magento 2 Show customer attribute in ui_component form

I've created ui_component form. Where I need to show customer details, Same as Customer Edit. But, I can able to show their data from customer_entity table. DataProvider.php public function ...
9
votes
0answers
696 views

Magento 2.2.1: Add Custom Upload file attribute in Checkout

I tried to add an Upload file attribute to the Checkout form, I am now able to add custom field, but still, I am unable to save values to database - I used add Plugin - added Below code Amit\...
7
votes
2answers
3k 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. ...
7
votes
1answer
2k views

Custom /catalogsearch/ filters

Beforehand I have to tell: I'm a total n00b on Magento and what I need to know is more a "common practice" or "standard" about how is something achieved in Magento, since I have to maintain (in record ...
6
votes
1answer
540 views

In Magento 2 , configurable product options disabled after the first selection.How to reset option?

I am using Magento 2, I have some Configurable Products with a lot of variants (in some cases there are 5 attributes, each with several options). Each variant has a Simple Product associated with it, ...
5
votes
1answer
126 views

many-to-one product attribute

I need to add an attribute that allows multiple values - but not from a set of pre-selected values, not multiple select but multiple text fields. One product, one or more values in the one field. ...
5
votes
0answers
2k views

Magento 2 - Export/Import Product Attributes

I'm trying to export my Product Attributes from one store to a new clean store database. I created a mysqldump for the following tables: catalog_eav_attribute eav_attribute_group eav_attribute_label ...
4
votes
0answers
169 views

Magento2 : How to add row/pattern type of customer attribute

How to add a row/pattern type of custom customer attribute (dynamic rows). We have the below attribute in Magento 1, we need to achieve the same in Magento 2. I don't find any code reference for this,...
4
votes
0answers
38 views

Magento 2.2.7 error when using bulk attribute update when item is enabled

When trying to use the bulk update attributes I get the following error: Exception message: Required parameter 'theme_dir' was not passed I've been chasing this error for the last 2 weeks. At ...
4
votes
0answers
220 views

Unable to update custom product attribute value programatically

I have created a few custom product attributes in Magento 2.2.6 and have no problem saving a new product with these new attributes, load this created product, and update the standard Magento ...
4
votes
0answers
96 views

Apply unique images by attribute to each sku magento 2 programmatically

In magento2 - How can I perform this task through a script? I already relate the configurations to the product with this segment $attributeModel = $this->objectManager->create('Magento\...
4
votes
0answers
90 views

Custom additional custom address attributes not getting saved

I have created two custom address attribute latitude and longitude in custom address and they are showing fine in backend. However when I am creating a new customer from backend filling some value to ...
4
votes
0answers
38 views

How can I create a key value input type for a product attribute?

I'm trying to get a table on a product page that exists of 2 columns. I want to use this to display technical details about that product. The first column would have a value like: 'volume' and then ...
4
votes
0answers
693 views

Multiple Category Image Attributes Not Working Together (Uncaught TypeError: value.map is not a function)

I've created a custom module to get an additional image uploader on my categories using the following tutorial. https://belvg.com/blog/how-to-add-image-attribute-to-a-category-in-magento-2.html It ...
4
votes
1answer
493 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\...
4
votes
1answer
3k views

Color swatch and text swatch issue in magento 2

If I used color and text swatch in magento 2, sequence/order of option isn't changing. I mean I want to show 1. size 2. color but it always show 1. color 2. size if I used dropdown instead of ...
4
votes
1answer
707 views

Layered navigation showing child brands with bundles

Using Magento 1.9.1 and have a problem with Layered navigation and bundle product brands. I have many simple products that can be part of any bundle product. All of them can be with different ...
3
votes
1answer
64 views

Magento 2 - Clean SEO URL with attribute

We run Magento 2 - 2.1.6 Question: If I create a link based on layered navigation attributes (storeurl: /clothes?cat=1029&gender=124) for example. We get a lot of errors regarding Google Search ...
3
votes
0answers
42 views

How to add svg icons to Swatch attribute (disable admin panel file validation)?

Currently, I can load png/jpg files in swatch attribute, but when I tried to load save attribute with loaded svg file, it's not working. When I load svg from servers - it displays well, but when I ...
3
votes
1answer
112 views

More than one Free shipping issue with Shopping Cart Pricing Rule If General Free Shipping Enabled?

I have applied free shipping for purchase over 1000, If i try for free shipping specific products which is below 1000 using Shopping Cart Price Rule Free shipping not applying, Note : Created ...
3
votes
0answers
99 views

Manage Brands / Manufacturers in admin. Show brand logo and story in Product Page

I am looking for a best practice to show content about the manufacturer/brand on a product page. For example brand logo and story/description. This could be achieved just by importing the description ...
3
votes
0answers
47 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
42 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
187 views

Magento 2 - Configurable product with multiple price attributes

I'm facing a dead-end with my configurable product and my simple products. Right now, i am struggling setting up my configuration prices in a way that make sense for my products. Since Magento 2 , ...
3
votes
0answers
28 views

How to create a new attribute with two text fields for product in admin

How to create a new attribute with two text fields for product in admin Please find the below screenshot
3
votes
0answers
363 views

Magento 2.2.5 Product attribute “use in search” RESETTING after index:reindex

UPDATE:: Today i discover that happen when the cron run index:reindex How can I fix? Today during configuring manufacturer attributes I found a bug or however an anomaly on Magento 2.2.5 I, ...
3
votes
0answers
72 views

No results on layered navigation when filter applied

In Magento2 - We have a Multi-Store site with product category pages, with some attributes enabled in layered navigation. The fact is that in certain stores, filters counts shows the items per filter ...
3
votes
0answers
236 views

Magento 2: Filter by custom product/category attribute returns 0 results

I created a bool (int) attribute with a default value of 0 for both category & product entities. I reindexed, cleared cache, etc... Now, no matter what I do, I can't filter the collection using ...
3
votes
0answers
196 views

Magento 2: Show/Hide product attribute based on other attribute value

I created two custom attributes for product. One attribute is of type drop down and other attribute is of type multi select. I want to hide multi select type attribute when drop down attribute is ...
3
votes
1answer
465 views

Magento 2.2.1: Attribute values sort by name

I write here for an help. Magento 2.2.1: For a few days I'm using Magento 2, after I used it for a couple of years Magento 1. I am aware of the presence of an important discomfort: attribute values ...
3
votes
0answers
406 views

Magento 2: products collection with multi-selected values of multiple attributes

I have numbers of custom attributes with multiple selected values in magento catalog. I need to filter products by multiple attributes having multiple selected values. eg: Attribute set having a ...
3
votes
0answers
272 views

How can I remove a custom attribute from a product via REST?

I can add or change a custom attribute of a product, i.e. via curl -X PUT --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Authorization: Bearer MYTOKEN" -d ...
3
votes
0answers
489 views

using swatches instead of dropdowns 2.1

Is there an option in admin to show swatches instead of drop downs? I seem to remember there being an option in magento 1.9 to do this but can't seem to find it in admin here. Just to clarify this ...
3
votes
1answer
176 views

Magento 2.1 :how to create export module in product attribute and attribute set

How to export attributes in magento 2.1 backhand ,like when i want to export attributes of particular attribute set
3
votes
0answers
792 views

Magento2: How to show Product Weight on Filter

Need to show Product Weight on Category Page Filter, so Customer can also filter via Weight. A user can also enter the weight in Text Box & Search, so it's vice versa between Slider & Textbox....
3
votes
0answers
550 views

Display Country of Manufacturer on Category Page Navigation Filter

When we add a product from Admin. We have field "Country of Manufacturer". Would like to display that as Navigation Filter on Frontend. From Admin -> Product Attribute By Inspect Element, able to ...
3
votes
0answers
52 views

Add text into attribute options

I want to add some info text to every option under the attribute Color. For example in Color with label Red I want to add the text "Color red is a color that we are using under the products...etc" ...
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 ...
3
votes
0answers
362 views

REST products web service filter by Price Attribute

Magento 1.9 provides a web service for products but the response parameters that are different for customer/guest and admin. The problem is that there is a price field in Admin response that gives ...
3
votes
2answers
1k views

Custom Attribute in Layered Navigation

I have a custom attribute called m2_price, which is the Metre Squared price of a piece of carpet. I've enabled it to be filterable with results in the layered navigation and this all works fine. ...
3
votes
1answer
573 views

Sorting Attribute (with custom source model) by dropdown label

I have a custom attribute called collection (in retrospect, a horrible name all things considered,) with a custom attribute source model. The important part is here: public function getAllOptions() { ...
3
votes
1answer
340 views

2.1.8 CE - Unable to set attribute set for new product

I have a clean install of Magento CE 2.1.8 and then imported my data from Magento 1.9. Now when I want to add new products on my old attribute sets which were created on M1, page is loading over and ...
2
votes
1answer
50 views

How to add customer Attribute inside custom tab section insted of “Account Information” in magento 2?

I have created customer Attribute programmatically and need that attribute to outside of "Account information" tab... means in custom tab. I have tried with customer group.... ui component file as ...
2
votes
0answers
22 views

Magento 2: Retrieving and updating Attribute Options and Store Lables

I am currently trying to update an attribute options store label and facing some issues. I can successfully update option store labels by calling $storeLables = []; $optionLabel = $this->...
2
votes
0answers
39 views

Add Attribute Bulk Value Using CSV File in Magento 2.3.3?

I have Magento 2.3.3 Store And I have too many Product Dropdown Attribute And One Attribute have a something 500 1000 value. So How can I add multiple values using CSV file or other options so, ...
2
votes
1answer
87 views

How to rename third-party table from our module in Declarative Schema in Magento 2.3.0?

I wanted to rename table ThirdParty to NewTable So I wrote the following code: <?xml version="1.0" ?> <schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
0answers
25 views

Create import entity for attributes

I'm trying to implement a new import entity to be made available through the ImportExport module (which is actually extended by Firegento_FastSimpleImport2, but that's not relevant for this question) ...
2
votes
0answers
20 views

What is the scope of source model extend and implement?

What is the scope of source model extend and implement between these two? \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource \Magento\Framework\Data\OptionSourceInterface Attribute options ...
2
votes
0answers
13 views

How to have irregular price filter ranges?

If I configure manual price ranges, I can define the step, but that step is a constant for all ranges. Is there a way to have, for example, USD 1 to USD 199 USD 200 to USD 499 USD 500 to USD 5,000 ...
2
votes
1answer
441 views

Magento 2 :Sort Attributes Alphabetically in layered Navigation

I want to sort the attributes in layered navigation in the alphabetical order. http://i.prntscr.com/zDuYTVDbSWqv_507ew0JbQ.png Sort in the order as:Climate, Color, ... I tried to override the ...

1 2 3 4 5 14