Questions tagged [attributes]

Magento Entity Attributes

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

How to get filterable attribute option after category attribute selection in magento 2 programmatically

I used the below code and list out all the attribute options by current category wise. But, I want to list out available attribute options by selected attribute option with product results. In my case,...
0
votes
2answers
23 views

How to add custom product attribute?

I want to add custom attribute in product that have dropdown and can be sorted and filtered? thanks in advance
1
vote
0answers
7 views

Wrong dropdown attribute value on the admin panel magento 2.3.5-p2

I have trying to find something here but with no results. I have strange problem. We have multistore (8 views). All dropdown and multiselect attributes are global, but has different values for each ...
0
votes
1answer
7 views

Getting List / Deleting the Unused Option values using API in Magento 2

Need to get all the unused attribute value and delete it via API. How to get the Unused attribute list using SQL Query.
1
vote
0answers
9 views

How to get the unused attributes from the table Magento 2 using SQL Query

I need to get the unused attributes from Magento DB that is not assigned to the Attribute set and not assigned to the production. Also i need to get the unused attribute sets. from Magento table
0
votes
1answer
17 views

Magento 2 file upload error

I have upload customer image using ajax.I have upload images jpg,png,jpeg etc extension is working fine.But i have upload pdf extension showing below error Notice: Trying to access array offset on ...
0
votes
1answer
54 views
+100

country_of_manufacture issues with names in Magento 2

I am having issues with country_of_manufacture attribute. I recently made a copy of production site to prep our new server for migration from old server. The issue comes in when I do import testing - ...
0
votes
0answers
6 views

Checkout Page:Can numeric or alphanumeric values be put in region and city attributes and do these attributes have to be actual region and city names?

On the checkout page, can numeric or alphanumeric values be put in region and city attributes and do these attributes have to be actual region and city names or can they be any words we choose e.g. &...
0
votes
0answers
16 views

Magento 2 multi-region filter

Does anyone know of a module with a multi-range filter, (with two positions to filter) that is free?, I found a filter but it only works with the value of the products. I needed it to work with other ...
0
votes
1answer
22 views

Override vendor/magento/module-catalog-search for Magento 2

I need modify files in vendor/magento/module-catalog-search for Magento 2, how I can this do? or need this all copy as module?
0
votes
0answers
19 views

Your search returned no results after search category or product in the search box error in Magento 2.4.0

As I am searching anything inside the search box like category name or product it is showing not results error in the Magento 2.4.0 version. Can you please how to resolve the issue quickly ?
0
votes
0answers
22 views

Notice: Array to string conversion in vendor/magento/framework/Data/Form/Element/Select.php on line 135

When I am trying to delete any CMS page or delete any product in the admin backend it throws an error of the Array to String Conversion in directory /vendor/magento/framework/Data/Form/Element/Select....
0
votes
0answers
19 views

Rest Api - get request - url parameters

URL/V1/products/?searchCriteria[filter_groups][0][filters][0][field]=name&searchCriteria[filter_groups][0][filters][0][value]=10&searchCriteria[filter_groups][0][filters][0][condition_type]‌​=...
0
votes
0answers
30 views

Magento 2: Display multiple Attribute labels when creating configurable product variations?

How to display multiple Attribute labels when creating configurable products? Our color attribute admin labels are set as numbers because it will be the suffix of configurable product variations SKU's:...
0
votes
0answers
34 views

Adding UPC Attribute to Product Page

I am trying to figure how to add an attribute (UPC) to display just under the SKU on the my product page. I have tried in the past with no such luck. I really need this to work. I have found several ...
0
votes
1answer
14 views

Adding magento 2 order attribute

I want to create an order attribute that creates a field in sales_order_item table also. I want to insert some product-related data in this table which I want to filter later in sales report.
0
votes
0answers
22 views

Magento 2 | Use input text as a filter in layered navigation

I try to explain what I would like to do: I created a new attribute called stockqty in Stores> Attributes> Products. I assigned this attribute to the Default section and re-indexed everything ...
0
votes
0answers
13 views

How to set Extension Attributes on a configurable product in a chronological order?

So, I have tried to save options on setExtensionAttributes. In a specific order, but it always comes out in the backend in a another order. Lets say I save them as Table, Brand, Size. But in the ...
0
votes
0answers
14 views

Magento 2, programmatically create configurable products

Hello I have the necessity of creating both simpe and configurable products. This is what (following online guidelines) I have right now: $bootstrap = Bootstrap::create(BP, $params); $objectManager = $...
0
votes
1answer
41 views

How to display additional attributes in category page product item

Please check the below images for more understanding Display here...
0
votes
1answer
23 views

When this attribute is displayed on the product page, its values must be different depending on the selected language

You need to add a new text attribute to all products in the Magento store. When this attribute is displayed on the product page, its values must be different depending on the selected language. ...
0
votes
1answer
28 views

product details page is featured attribute yes show attribute in magento 2.4

This attribute only show Is Featured Yes for attribute in product details page in magento 2.4 app/design/frontend/Magento/Theme/Magento_Catalog/templates/product/view/attributes.phtml <?php $...
0
votes
1answer
38 views

How to getSku for configurable products in magento 2

I want to get Sku for selected options. Above image i have select blue and M. So this options product sku get in magento 2. Please Help me. THANKS.
0
votes
1answer
37 views

Add description to Related Products

I try to add product Short Description in the Related Products section in Magento 2.4 version. I overwrite this file:/app/design/frontend/Theme/MyTheme/Magento_Catalog/templates/product/list/items....
0
votes
0answers
14 views

Magento 2.3.5: Link product page attribute to category page

How can I link (href) a product page attribute to it's category page? For example: I have a visible attribute on the product page called "Artist" and the product is in 3 categories "...
0
votes
2answers
40 views

Magento 2.4.2 How to add Key Features to the product detail page

I need to add Key Features to the product detail page.The function should be a new attribute, but I don't know how to add it. Do you have a simple and quick way. Key Features can be replaced with any ...
0
votes
1answer
30 views

Magento2: How to add extension attribute to rest/V1/products/attribute-sets/4/attributes

I want to add extension attribute to the default API to identify the visual and text swatches http://localhost/m2.4/rest/V1/products/attribute-sets/4/attributes API.
0
votes
1answer
22 views

Magento 2: Alternative solution to large number of values inside 1 attribute

We have Product Attribute called "Authors" with "Multiselect option". It has entries up to 51k. When we edit product page in backend it becomes very slow to load page and specially ...
0
votes
0answers
12 views

Saving Product Attribute First Time Erases Store Labels, Second Time Saves the New Addition

We have the loop below, which is supposed to update the store labels and options and then save the product attribute. The first time the attribute repository saves the attribute, it completely wipes ...
0
votes
0answers
11 views

Magento 2 How to set up restrictive attributes?

I would like to know how I can set up an attribute that would filter the items listed with multiple values selected. For example if I offer rings and I set a material attribute. I would have among ...
0
votes
0answers
13 views

Magento 2 Attribute Sets and Attributes optimization

In terms of optimization and speed improvement, is it better to use: many Attribute Sets with few Attributes. few Attribute Sets with many Attributes
1
vote
1answer
12 views

Export attribute set and the attributes that are assigned to it

our attribute sets have become messy, things are assigned to them that shouldnt be and some things that should be havent. Is it possible for me to export to CSV the attribute set name and a list of ...
0
votes
1answer
28 views

Magento 2 attribute search product results

I have a multi-select attribute with n number of options. I have assigned some options for the products. For example, I have an attribute color and have options like blue, red, green, and yellow ...
0
votes
1answer
12 views

Show Categories Filter with Custom Attribute

I have to get the list of categories those have a specific attribute assigned, So to achieve this i have created a custom attribute boolean type like this: public function install(...
1
vote
2answers
30 views

Insert custom canonical value on category page in Magento 2

I've created a module to add a custom category attribute (custom canonical URL) to a category page, based on Display custom canonical URL on category page in Magento 2 question. Here is the contents ...
0
votes
1answer
33 views

How to get custom order attribute in API?

In sales_order_grid table I have this custom field: This field was added by this extension: https://github.com/boldcommerce/magento2-ordercomments Is it possible to add it as "custom_attributes&...
0
votes
1answer
28 views

Magento 2 load multiselect attribute values in product list

I am trying to load multiple values of Color attribute in product list phtml file with this code: <?php echo __('Color: ') . $_product->getAttributeText('color'); ?> But I get array error: ...
0
votes
0answers
174 views

Magento 2.4 | Filters are no longer seen with Elasticsuite

I have updated Magento to version 2.4.2 and have also activated Elasticsuite as the default search engine. Elasticsuite installation went smoothly and the module is correctly installed. The search bar ...
0
votes
2answers
35 views

How to retrieve product attributes values in Magento 2

I want to get configuration product attributes values in phtml file. Above two value i want to get in magento 2. So please Explain me How to get. THANKS.
0
votes
2answers
33 views

Custom Block to Product Page with selection attribute is not showing

I am trying to create an option where I can select yes or no in the backend, and when it's set to yes, it adds a block with an image in the product page. Here's what I have so far: I created a Yes/No ...
1
vote
1answer
18 views

Can't change Custom Attribute when Importing Products

I have a custom attribute for my products called Designer_name. I'm trying to import products and change a Designer_name's value in the additional_attributes column, but it doesn't work. The attribute ...
0
votes
0answers
13 views

How to check customers custom attribute order place in Magento 2

How to check customer custom attribute is 'No' order is pending. And customer custom attribute is 'Yes' Order is processing. So please How to achieve this. Thanks
0
votes
0answers
24 views

Magento2 - Adding a new extension attribute to customer / no customer attribute

I am new to the Magento world. I would like to create a new extension attribute for Customer. The idea is for a new attribute to appear in the customer edition: favourite type of coffee. I've read the ...
0
votes
1answer
7 views

Hide filter options with 0 products in Magento2

I am using Magento 2.3 and need to hide filters in the layered navigation that contain zero products. What files should I modify to complete this?
0
votes
0answers
11 views

Phone number magento validation not working in Register and MyAccount Page - Magento 2.3.5-p2

i try to add magento validation to make it display "Please enter a valid phone number, without dashes or non-numerical characters." like this, and also magento validation can only make me ...
0
votes
0answers
30 views

boolean order attribute won't save correctly in Magento 1.9

I have created my boolean order attribute /* @var $installer \Mage_Sales_Model_Resource_Setup */ $installer = $this; $installer->startSetup(); $smsAttribute = [ 'type' => 'int', '...
0
votes
0answers
12 views

Sort By option not working properly when using ascending or descending button

So the problem is as follows: I have the Sort By option set to "Price", but once i try to change the order from descending to ascending or vice versa, the Sort By" turns back to ...
0
votes
1answer
27 views

How to check PLP page layered navigation attributes selected or not using Observer?

I am using event ( catalog_product_collection_load_before )for check PLP page layered navigation attributes selected or not, my observer, app\code\Zero\DescBlock\Observer\Data.php <?php namespace ...
0
votes
0answers
13 views

How to create a custom product attribute where i can upload as many PDFs as needed, and upload the thing as a whole?

I need to complete a task which i have been struggling with since last week. If i "Go to Seller Store" and then into editing a product (both a new product or one that is already uploaded), ...
0
votes
3answers
207 views

M2.3 - How to set Catalog -> Categories -> Content -> Description cms block based on shop by attributes selection programmatically?

I want to set the category description cms block based on the shop by attributes selection on product listing page,

1
2 3 4 5
45