Questions tagged [product-attribute]

Questions about creating, managing and using product attributes

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

How to reduce product description and short description input field height in the backend?

Im using magento 2.3.4 and when i want to add/edit new product by default the product description and short description height is set too much like this: how can i reduce this?
0
votes
0answers
9 views

Magento 2 - discount depend on Payment Method and discount price stored in custom product attribute

In check/moneyorder payment method i need to give discout with custom attribut value
0
votes
1answer
17 views

Attribute with pairs of values

I'm creating a store where each product has one or more "contributors" and each contributor has a contributor type (composer, arranger, artist, author, or editor). So, for instance, there ...
0
votes
3answers
22 views

Unable to save a custom product attribute created manually

I've created a custom product attribute: my_custom_attribute from the backoffice and assigned it to the right attribute set. Now I am trying to set some values for my attribute programatically. This ...
0
votes
0answers
13 views

Using product options/attributes to add a separate line item during add to cart

This is a bit hard to describe so please bear with me and hopefully it will all make sense. My basic goal is to have product options/attributes function to add a second, separate line-item to the cart....
0
votes
0answers
9 views

product attribute setting image value store in witch data table in magento 2?

in that setting we set brands logo so i need to know that image store in witch data table
3
votes
1answer
37 views

Creating a csv file that contains product details magento 1

I am trying to create a csv, using script that contains the below product attributes. (id, title, description, link, image_link, price, availability) in Magento 1 Has anyone implemented it? Or Any ...
0
votes
1answer
31 views

Move custom product in More Information Tab

I want to move product attributes inside the more Information tab. Can someone help?
0
votes
2answers
69 views

How to add a custom link to product page magento 2

I want to add custom link in More Information tab. See attached screenshot: I want to give a link instead of text
0
votes
1answer
26 views

How to change product price to custom text Magento 2

I am planning to change product price from Category view and product page to “coming soon” I have a new product attribute which I have created and I can see that when I edit product page from admin ...
0
votes
1answer
21 views

Product URL issue in Observer Magento 1.9

I have create an Observer function which is call after product save but having some issues with product url. Getting product like: $product = $observer->getEvent()->getProduct(); Getting ...
0
votes
2answers
47 views

Product attribute in filter

My issue is quite simple to resume : I have 2 products attribute. One of them is already appearing in my filter front panel. The other is not. I have almost the same configuration for both of them. ...
0
votes
1answer
19 views

Magento 2.3.5 adding custom product attribute

I want to add a custom product attribute. Of the attribute is enabled (should only contain yes or no) if it’s enabled I want to change the price to coming soon if it’s disabled show the price.
0
votes
1answer
19 views

What is the recommended number of Magento attribute option labels?

I have a store that has many attributes , especially the brand attribute which has more than 2000 brands & more will be there in the future . Is it a good practice to have this much attribute ...
2
votes
2answers
31 views

Display product attribute on product page magento 2

I am using magento 2.3 I want to display product attribute on product page, I select the storefront properties tab and change the value of Visible on Catalog Pages on Storefront drop down value No to ...
0
votes
1answer
12 views

Assign attribute to a product using mysql Magento 2

I am trying to assign attribute to a product in mysql, but not able to do so. Any idea how to do it ?
1
vote
0answers
6 views

Getting Error: Attribute ktype_motors exceeded max length

In my Magento Project at the time of updating products to the store programmatically, I am getting below import error: Following Error has occurred during the importing process: Attribute ...
0
votes
0answers
25 views

Magento 2: Add product attribute to product by SQL

I am trying to add a product attribute to a product in Magento 2 by SQL, but its there is some issue in it. product id is = 244992 product attribute code is = 70
1
vote
0answers
7 views

magento 2: value not saved for attribute by programmatically

I am trying to save some values in my attribute by programmatically. My attribute name is storage. type is dropdown I am trying to save values like 32GB or 16GB this values do not saved but if I used '...
2
votes
1answer
20 views

How to set a new color to Color Attribute using Rest API

Hey i'm begginer at Magento 2 and i want to set a new color type to the Color Attribute using REST API. Is it possible? I know this can be done using the admin menu, but i would like to do this using ...
1
vote
1answer
23 views

How to find config column in core_config_data table?

I want to add values to this field from "core_config_data" table, how do i identify it ? <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
3answers
93 views

get options value of each options label of an attribute

I have an alphabetical sorted list of option label of an attribute, I want to get option value of each option labelthis is my code: <?php $om = \Magento\Framework\App\ObjectManager::getInstance(); ...
2
votes
0answers
16 views

Magento 2: How to Add or Update different store product attribute options label based on default label and store id?

I have a custom Product options dropdown attribute and i want to add or update the label option based on the store id and default label, for example, I have a data like this: $attribute_code = '...
1
vote
0answers
17 views

Magento 2 get product name in summary js file / configuration product name get undefined - attribute

I need to get a parent product name in vendor/magento/module-configurable-product/view/adminhtml/web/js/variations/steps/summary.js (summary.js file) Is it possible if yes how can I achieve this? for ...
1
vote
1answer
36 views

Magento 2: Product collection filter with custom attributes with like

I am using magento 2.3.3 i have custom module in that i am using search when any one search i am filter products name like it is working fine but now i want add extra attributes.I have created product ...
1
vote
1answer
26 views

Magneto 2 edit configurable products sku and product undefined

New product creating configurable product step 1: Select Attributes - selected color then, Step 2: Attribute Values - selected 2 colors then. Step 3: Selected Skip image uploading at this time Step 4: ...
1
vote
1answer
29 views

Product attribute information is not saving in the product

We use magento 2 and i recently updated the product attributes for the products. Now the new product attributes I created are not saving the content. I have the problem for the attributes price, text, ...
0
votes
0answers
8 views

Add editable attribute column in products in category grid

I have added an extra editable attribute column in "Products in category" grid. I am using the below link to add the column. Add filtrable attribute column in products in category grid Here ...
0
votes
1answer
19 views

Product Attribute value In Magento schema

Where is the product's attribute value is stored in magento 2 DB ?
1
vote
1answer
33 views

How to update custom product multiselect attibute in magento 2.3.3

I have an existing product with a multi-select attribute and I need to update that multi-select attribute update programmatically. So how can I Update that option selected through programmatically? In ...
1
vote
2answers
87 views

Add Wysiwyg attribute to Product in Magento 2

How to create Magento 2 Product Attribute with Wysiwyg editor Programmatically.
0
votes
2answers
41 views

How can i show final price on product page?

I want to show price accroding to selected attribute option of configurable product.
0
votes
0answers
10 views

Odd behavior with Magento 2 color swatches

When I use the quick search on my Magento 2 store for a Configurable SKU and hit ENTER, the search_results page displays only the product image with its description without any JS or CSS. But when I ...
0
votes
0answers
23 views

How I add attribute with product title in magento

This is my code of title.phtml. Here I want to show attribute when I select dropdown value and hide when I didnot select any value from my attribute dropdown list. Here in code I added span with class ...
0
votes
1answer
19 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
14 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
0answers
13 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 ...
1
vote
1answer
87 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
40 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
20 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
10 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 ...
1
vote
2answers
73 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
11 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 ...
1
vote
0answers
24 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
34 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?
1
vote
0answers
10 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
17 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
17 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
20 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
2 3 4 5
35