Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [attributes]

Magento Entity Attributes

7
votes
0answers
405 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\...
5
votes
0answers
1k 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
121 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
24 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
63 views

Apply unique images by attribute to each sku magento 2 programmatically

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\ConfigurableProduct\...
4
votes
0answers
64 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
34 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 ...
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
276 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
57 views

No results on layered navigation when filter applied

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 correctly but ...
3
votes
0answers
613 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 ...
3
votes
0answers
393 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
106 views

How to always get the attribute label from “default store”?

I'm trying to improve an extension. Currently it returns attribute labels from the store that the item was purchased, but I need it to always return the labels from the default store. This is a ...
3
votes
0answers
245 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
452 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
0answers
693 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
503 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
50 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
342 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 ...
2
votes
0answers
20 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
17 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
12 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
0answers
5 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 ...
2
votes
0answers
33 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
37 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 ...
2
votes
0answers
20 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
50 views

Update select attribute in custom_attributes via catalogProductRepositoryV1 API PUT request

I'm trying to update a product with the catalogProductRepositoryV1. I want to change a custom select attribute for the given product. When sending the following request: { "product": { "...
2
votes
0answers
27 views

Magento 2.2: How to show a cutomer custom attribute on frontend?

I need to show my custom attribute in the next windows: On the address book: On the checkout page: And in the backend customer edit: It is possible assign the attribute with XML file without ...
2
votes
0answers
118 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 ...
2
votes
0answers
65 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
0answers
34 views

Bulk Ordering a Product with Many Possible Configurations

I am building a website that sells different types of fasteners (nuts, bolts, screws, etc). The issue is that each product has many, many different variations. For instance, a hex head cap screw ...
2
votes
0answers
34 views

Magento 1: How replacing WYSIWYG button in product description field?

By default when there is an attribute with "Enable WYSIWYG" set to Yes you will get a button bellow that form field [WYSIWYG Editor]. When you click on the button your will get a pop-up window, but ...
2
votes
0answers
821 views

Product dimensions in Magento 2.2.5 update

I have installed Magento 2.2.5 locally with sample data. Now three new attributes Length, Width, Height Added. These are the default attributes, created by Magento 2.2.5 or by some third party ...
2
votes
0answers
190 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 ...
2
votes
0answers
136 views

Why can't I import attribute values?

I've created a new attribute - GTIN. All I want to do is import my barcodes into the GTIN field per SKU. sku,additional_attributes AM0005930-34,gtin=08033546253915 I've created the above .csv, but ...
2
votes
0answers
147 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
142 views

Magento 2 : Wrong Count of Shop By on Search Result Page If there is Grouped Product

I've created a grouped product. And I created an attribute (multi select) that is in parent and children products attribute set. This attribute has value selected only in children products. One ...
2
votes
0answers
445 views

Filter/Sort Configurable Products by Associated Simple/Super Product Attribute

I have a query and want to know about this How Magento 2 filtration is working from layered navigation. I have a scenario, There is a configurable product in Magento 2.2 and having 6 associate ...
2
votes
0answers
122 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 ...
2
votes
0answers
293 views

Magento 2, Can't Enable WYSIWYG on description attribute

I'm trying to enable the WYSIWYG editor, on the description product attribute. Magento ver. 2.1.7. I've enabled the WYSIWYG in Store > Attributes > Product > description Our Product description ...
2
votes
0answers
182 views

Customer custom address attribute not save in Magento2

We are working on Magento Ver 2.1.8. We have created module for add additional information in customer address. The attribute (other_info) field is display on the the checkout page but not save and ...
2
votes
0answers
806 views

Magento : How to Add Quantity Box in Custom Option for Simple Product

I have a attribute "size" which have drop down option in custom option admin panel, and i want to show quantity box for this option, our all products are simple products. I have tried below link it ...
2
votes
0answers
50 views

Magento 2.1.5 products filter problem

I'm currently working on setting up a e-commerce website. Of course we want to use a filter for the products but I'm facing a problem at the moment. I have a category with 5 products. All of them are ...
2
votes
0answers
258 views

Magento 2 : Convert Attribute to Link

I'm trying to make some attributes in product info details to link, to attribute search page to help customers search. If my attribute is Armani, when a person clicks Armani in product info details, ...
2
votes
0answers
105 views

Ramifications of “Price” attribute type?

I'm trying to understand the ramifications of setting an attribute type to "Price" when the attribute will not actually be a currency value. The goal is to display length & width dimensional ...
2
votes
0answers
68 views

Proper type for multiselect attribute

What should be proper type for multiselect attribute? Of course it is connected with adding them programatically. There is no exceptions while adding text type programatically, but you can't use it ...
2
votes
0answers
233 views

Manage option value of attribute option disappears

I have an attribute named as Product_type. Catalog > Manage attributes > Attribute Name(Product_type) > Manage Labels/Options > Manage Options (values of your attribute) When I choose Use In Layered ...
2
votes
0answers
95 views

Create image category attribute on magento 2.1

I have created category image attribute according to the this post. Images are also saving successfully. But I cannot preview or delete image as default category image. I had written code in ...
2
votes
0answers
32 views

Have your default store attributes run parallel with a second store when you update in admin

I have a standard default store 0 and i have a new store with an id of 13. When description or long description is updated in the main store i want it to update in my storeId 13 too. Almost any ...