Questions tagged [product-attribute]
Questions about creating, managing and using product attributes
1,839 questions
0
votes
1
answer
26
views
Product Attribute options not loaded in admin on edit
I have an product attribute which has around 1717 options. When I try to add new options it is saved in the database but not displayed in the admin. Their are no exception or timeout error either. No ...
0
votes
1
answer
55
views
Magento 2.4: Wrong product data shows up randomly in Default Store View
We are getting a strange issue where data(attribute values) of other products show up in the Default store view randomly while the correct data is inside the All Store Views.
For example:
In this ...
0
votes
1
answer
77
views
Magento 2 | Adding values to the multiple select attribute of the product
I have created a product attribute in Magento2 which is of type multiple select.
Right now it is empty for all products and has no options created.
With my php code I am trying to add a random value ...
0
votes
2
answers
80
views
how to change product attribute's frontend input to dropdown programmatically
i have tried following but it's not working.
<?php
namespace Vendor\Extension\Setup\Patch\Data;
use Magento\Eav\Setup\EavSetup;
use Magento\Eav\Setup\EavSetupFactory;
use Magento\Framework\Setup\...
0
votes
1
answer
176
views
Magento 2 REST API - Updating a single category also updates other attributes to not use the default value
Hopefully somebody can shed some light on this issue.
I have a REST handler that will bulk-update products per store view. Like text translations etc.
Since the provided attributes could be anything, ...
0
votes
0
answers
53
views
Unable to export products in the admin
I'm not able to export products.
I go there:
System > Export > Products
I select CSV.
But below, I have no entity attributes I can select, so I can export anything.
I'm using M 2.4.7 p3, but had ...
1
vote
0
answers
35
views
color swatches and dropdown select on product page
Is there a way to get color swatches and a dropdown select for same attribute color on product view page?
0
votes
1
answer
94
views
Attribute Option label not updating in Magento2
I created a setup Patch file to update the label of attribute options.
Tried below code
Vendor\Custom\Setup\Patch\Data\UpdateColorAttributeOptions.php
<?php
namespace Vendor\Custom\Setup\Patch\...
0
votes
1
answer
289
views
How to sort product attribute options in magento 2 programatically
I have Magento 2.4.5 cloud edition.
I have a product attribute(brand) with 2000 options. When the Product is edited, the product options for a brand attribute are mixed up, and it is difficult to ...
0
votes
1
answer
111
views
Magento 2 : Special price From and To Date Calendar not Showing
I am using 2.4.6-p6,
when I try to set the From and To date inside the special price form the calendar is not showing.
However, I have other custom product attributes of type calendar, and working ...
0
votes
3
answers
107
views
allowing duplicate attribute option values in store Level
Whenever i tried to add duplicate option value in Admin its throws an error like
"The value of Admin must be unique. (AB)" This is Totally fine.
but in storeView duplicated values are ...
0
votes
1
answer
65
views
Magento change Position from delivery with price
Need change position from class="product attribute delivery_time" under class="product-info-price"
I'm using the Proto Theme, can anyone help?
What do I need to change here, please ...
0
votes
1
answer
79
views
Get product attribute value on category page - Magento2
We want to load the product attribute value on the category page, of all attributes with a value "Yes" of label "is_featured". We create the following code in the list.phtml, but ...
0
votes
0
answers
41
views
Magento 2 : Programmatically Assigning images to product taking too much time
I have around ~10k of products to create programmatically. I also have around 20 custom attributes to each product. Saving the stock, the price, special price, those 20 custom attributes it takes ...
0
votes
1
answer
71
views
Adding custom product attribute to summary in checkout?
Magento 2.4.6
I added a custom product attribute next to the qty in the checkout summary following the tutorial on Add custom product attribute to checkout summary Magento 2.
That works until the ...