Questions tagged [product-attribute]

Questions about creating, managing and using product attributes

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

I want to show size attributs in product page dynamically same as below screnshot how can i do that

I want to show sizes attribute like shown in the image in my custom theme.
0
votes
0answers
17 views

get cart product attribute value

I have created a customer product attribute called "payer". It is a drop down attribute & its value is yes or no. Now on the checkout page, I want to get the "payer" attribute ...
0
votes
1answer
51 views

How to write superscript Registered ® and Rx in Magento 2 Product name

I have many products in the website having product name like "Cialis ® (Tadalafil) Rx 20 mg" I want to write in superscript both "®" and "Rx" but they are not written in ...
2
votes
1answer
261 views

Magento 2 - How to filter on multiselect product attribute?

I want to filter multiselect product attribute which has backend type Magento\Eav\Model\Entity\Attribute\Backend\ArrayBackend. So when I save attribute it gets saved as the comma-separated values in ...
0
votes
2answers
65 views

Get Product attribute value using getAllVisibleItems() in magento 2.3.2

I am building one pdf, which will have order details. I want to print item ordered along with its custom attributes. I have been using getAllVisibleItems() to loop through items ordered. Below is my ...
0
votes
1answer
53 views

Fastest Way to Update Product Custom Attributes and Product Name, Product Weight using csv in magento1.9

We want update existing created products Product Name, Product Weight and custom attributes using csv file. We have csv file and want compare existing created Product SKU in website with Product SKU ...
0
votes
1answer
35 views

How to show helper text / hint / label under product attributes in magento2?

I want to show some helping text under custom product attributes in the product grid in adminhtml. Is this possible? Thanks for guidance!
0
votes
0answers
12 views

Does having a lot of NULL values slow down my site?

I have a store with about 13k skus. The company that I'm doing the job for hasn't broken anything down into attribute sets. The result is that an attribute that's used on 10 products gets added to the ...
2
votes
2answers
92 views

Magento 2 - Update eav attributes in a other attribute automatically

we have a multi brand shop with 60K+ of products. Every brand has it's own way of dimensions. Which results in an attribute list of 500+ entries. Attribute: POS-size Here is a screenshot of this: But ...
0
votes
0answers
85 views

Magento 2.3 - Mass change attribute scope to global

I need to change all attributes to scope global in my Magento 2 store. At the moment I have more then 200 attributes with scope Store View. I found a script to change it for specific attributes, but ...
2
votes
0answers
65 views

How to use product name variable in product description - Magento 2.3.5

I would like to create one product description that I can copy and paste into multiple products. Is there a way to pull the product name and other product attributes with a custom variable into the ...
0
votes
2answers
250 views

How can I get custom attribute value of an associated product in a grouped product?

How can I get the custom attribute value of an associated product in a grouped product in .phtml file in Magento 2.3.5?
2
votes
0answers
13 views

Create 3 product attributes of dropdown, with its values

I am not able to make appear 2 of the 3 new attributes in magento_admin_site here is the code in InstallaData.php <?php namespace Ht\Mymodule\Setup; use Magento\Eav\Setup\EavSetup; ...
0
votes
0answers
18 views

How add attribute to configurations?

I not understand how adding attributes programmatically to configurations like Color or Merchant. Please, help me.
0
votes
0answers
20 views

Changing position of the attributes of Configurable Product

I have three configurable options and when I change their position in catalog_product_super_attribute they get reverted to 0 when any change is made to the product they are for in the Magento admin. ...
0
votes
1answer
28 views

productAttributeOptionManagementInterface api not loading attributes

I use \Magento\Catalog\Api\ProductAttributeOptionManagementInterface in my constructor and since Magento 2.3.5 it doesn't load any attributes.
-1
votes
1answer
75 views

How to query products without weight in magento 2?

I have been able to SQL query my products that have weight in Magento 2 select * from catalog_product_entity_decimal where attribute_id=80 and value is not null However, when I try to look up ...
0
votes
0answers
72 views

getting problem for magento1.9.4.4 backend product attributes at edit time how to fix it

I have updated magento from magento 1.9.3.8 to magento 1.9.4.4 using magento manager connect. after upgrading every thing working perfect, but getting problmes for backend when i go for edit ...
0
votes
0answers
25 views

Redirect Simple Products to their Configurable Parent with Attributes Pre-selected

Hey guys I am trying to Redirect Simple Products to their Configurable Parent with Attributes Pre-selected and I followed Daan's guide. The Observer is as follows: <?php namespace DaanvdB\...
0
votes
1answer
54 views

Cannot update product name using productRepository in Admin Store ( Store 0 )

I'm trying to update a product using productRepository ( migrating from a flow using product factory with load ). Problem is tha when updating the name it is updating in store 1 ( default store ) but ...
0
votes
0answers
12 views

Attribute Rewrite

I've created a category page I want users to go to when they click on an attribute on a certain page. I have created the rewrite but when I click the link in the attribute on the category page, it ...
2
votes
1answer
52 views

How to create product attribute and assign it to specific attribute set and attribute set group? Magento 2.3

I have an attribute set with name Gold and attribute set group with name Ring, i want to add a boolean product attribute with name biodynamic like this: namespace Vendor\Module\Setup\Patch\Data; use ...
0
votes
0answers
23 views

anyone know where is the value came from?

Anyone know where this value came from? I have no idea why it is showing... Please help
0
votes
1answer
29 views

Multi select product attribute value not saving in magento2

I have created a script file to update the multi select attribute for the products here is my code <?php error_reporting(E_ALL); use \Magento\Framework\App\Bootstrap; require __DIR__ . '/app/...
2
votes
0answers
256 views

Magento 2 Create Product Swatch Attribute via API

Is it possible to create a swatch attribute via the API endpoint? Swatch product attributes are seemingly created programatically by setting swatch_input_type data to the attribute, as demonstrated ...
0
votes
0answers
22 views

Where can I find information on product attribute input types

I'm relatively new to web development, I've been using Javascript, html and css for about 80 or so hours, and I'm getting my feet wet with PHP now, so I'm sorry if this seems like a stupid question. ...
0
votes
0answers
17 views

Magento 2.3 How get selected options from custom product attribute to list format?

How i can get only selected options from custom multi-select attribute in block? I used $attribute = $_product->getResource()->getAttribute('attribute_name')->getFrontend()->getValue($...
0
votes
0answers
14 views

I need to get the product attribute and show below the product name in Product Detail page

I need to show the Manufacturer product attribute under the product name how to show it in magento 2.3 I tried to show using XML but it is not showing how can i do it. Thanks in advance :)
0
votes
1answer
157 views

How to show the product attribute in the product listing page Magento 2.3

How to show the product attribute in the Product listing page i had used the helper in Magento_Catalog (Magento_Catalog/templates/product/list.phtml) but it gives the value of the product attribute ...
0
votes
0answers
17 views

Limit Magento 2 Product Quantity based on Other Product

I'm selling a subscription box, in which each box can have a total Quantity of 12 Products Only. No Less than it no more than it. For Instance - Tshirts XXL Size and Tshirts L Size If a Person ...
0
votes
0answers
6 views

I can't add the product attribute in the fillter tab in magento 2.3

I need to add the product attribute in the filter tab but i can't add the attribute i followed the this link https://docs.magento.com/m2/ee/user_guide/catalog/navigation-layered-filterable-attributes....
0
votes
0answers
9 views

Associate Simple Product Reviews when converting Simple to Configurable Products (M2.3)

When I'm converting my simple products to configurable, I'm able to pull in images, SKU, and pricing, but not the Descriptions, reviews, etc. Is there a way to make sure these attributes are included ...
0
votes
1answer
29 views

Issue with calling attribute value on product view - Magento 2

I have two custom product attributes that I'm using in my product page template files. One of them doesn't seem to work and I'm wondering if it's something to do with the attribute code. The ...
0
votes
0answers
10 views

unable to save custom product attribute data in catalog_product_index_eav table in magento 2

I am trying to add the value of custom product attribute value in database. I have enabled layered navigation in which the attribute value is fetch from table "catalog_product_index_eav" in which i am ...
2
votes
3answers
471 views

Problem in creating Drop down product attribute in Magento2

I have created a Data patch file to create the product drop down attribute with options. used the following code in it. <?php declare(strict_types=1); namespace Custom\Module\Setup\Patch\Data; ...
0
votes
0answers
12 views

Wyomind Mass Product Import

i'm using this plugin that worked fine until now. If i have a single store or multistore with product with the same price everything gone well. But now i need to set a different price for the same ...
0
votes
1answer
19 views

Attributes not appearing in grids like “add crosssell products” - data migration caused issue

I have a magento site that was created by the official data migration, but recently I added 2 attributes post migration. Today I noticed that the "add related/crossell/upsell" grid displays these two ...
0
votes
0answers
19 views

How to obtain attribute_set_id from product attributes API response

I've been trying to retrieve attribute_set_id and attribute_group id from the below endpoint. rest/V1/products/attributes?searchCriteria=0 However, the response only contains the below keys which do ...
0
votes
2answers
180 views

How to add type and search for Magento2 Products Attributes (dropdown)?

I want to add "type and search" select box feature in Magento 2 product attribute dropdown. It is very difficult to select brand when i have more than 1000 brands . can anyone help me ? ...
0
votes
1answer
50 views

I can not add a custom attribute to the product page

I use Magento 2.3.4 EE and when I try to add a custom attribute to the product page - I can’t do it. Mi file: app/design/vendor/theme/Magento_Catalog/layout/catalog_product_view.xml My code: &...
0
votes
2answers
283 views

Why titles for Description and Short Description not showing on Product Page?

I have Description and Short Description, I see the values of these attributes, but I do not see their titles. Why? I tried to set the titles by doing: app/design/frontend/MyTheme/Magento_Catalog/...
0
votes
1answer
362 views

Magento 2.3.4 Add custom product attribute value (text-swatch) via REST API

Using Postman, with the following GET request I receive data from my custom product attribute: rest/V1/products/attributes?&searchCriteria[filterGroups][0][filters][0][field]=attribute_id&...
0
votes
0answers
41 views

How to show custom product attributes under cart button on product detail page in magento2.3.3-p1

Now there is a custom product attribute named "lead_time" appeared as "Delivery Time" in More Information tab under product image, and I want to move it below add-to-cart button. I tried it by ...
0
votes
0answers
33 views

Magento 2 Search Weight

Hi I am using the latest Magento Enterprise edition. Is it possible to adjust the maximum search weight of the catalog attribute to 20? Currently the attribute's maximum search weight is 10.
0
votes
0answers
53 views

how to migrate Bigcommerce store in Magento2

I want to migrate Bigcommerce store to Magento2 I have check online with Litextension and carttocart extension but it's not giving 100% accurated data migrated... If anyone have tried before, or any ...
1
vote
1answer
195 views

Add custom checkbox next to custom product attribute input page in product edit page In Magento 2 backend

I created a custom attribute for product called keybrand, i allow this product attribute can be editable from magento 2 backend. Now i want to add the check box input next to this custom attribute ...
2
votes
1answer
24 views

Cannot save custom product attribute via custom console command

I am trying to update a custom product attribute via a custom console command. The command runs, and the product seemingly saves; it never throws an exception or any form of error, yet the attribute ...
0
votes
1answer
1k views

Create attribute option using Data patch in Magento2

I am creating a product attribute with option using Magento 2.3 Data patch. Used below code. <?php declare(strict_types=1); namespace Vendor\Module\Setup\Patch\Data; use Magento\Eav\Model\...
0
votes
4answers
247 views

Magento 2 custom attribute and show product if attribute YES

its very Urgent I have an attribute called 'show_product' (in the backend of Magento) with two outcomes 'yes' or 'no'. At the moment I'm just echoing the product name on the frontend. However, ...
0
votes
1answer
53 views

How to Get product attribute set id by attribute set name in Magento 2?

I have a product attribute set name DSLR, in frontend page i need to get product collection filtered b this product attribute set $dslrAttributeSetId = $this->getAttributeSetIdByName('DSLR'); //...

1 2 3
4
5
36