The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [attributes]

Magento Entity Attributes

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

Magento 2.3.2 - Update product attribute option api duplicate option value

I'm trying to add and update product attribute options through the api endpoint: /V1/products/attributes/:attributeCode/options. When I try to update the values of an existing attribute option, the ...
0
votes
2answers
15 views

How to get product attributes with values

How can I get all attributes of product with its values? I mean attributes like size, color, gender and like that, but not availablity, quantity or sku. I need to use them for filters, how can I get ...
0
votes
0answers
12 views

Magento2 : Product attribute label translated into wrong language

I am currently experiencing a weird issue, where Magento the product attribute translated into a wrong language. I am running a Magento with more than 10 websites and each website has 1 or 2 store ...
1
vote
0answers
25 views

how to insert custom customers attributes in orders and emails

I have successfully created custom customer attributes in Magento 2.3.2 (like doctor name and doctor zipcode) and I can see/modify them in my adminhtml customer view. What I would like is to have them ...
0
votes
0answers
12 views

Magento 2 OWL carrousel filtered by custom attribute

I am trying to get the OWL carrousel to show products filtered by a custom attribute that I added. This filter option is not supported by default. Does anybody know a good way to fix this?
0
votes
0answers
12 views

Magento 2 How to create new Configurable product attribute for seller on frontend from seller dashboard (marketplace)

I want to add new function so that seller can create configurable product attributes from seller dashboard, currently, only allowed configurable attributes from back-end show on front-end. Please ...
0
votes
1answer
27 views

Discount attribute is not visible in attributes set

I am new to Magento 2 and I am wondering why discount attribute is not visible in the store -> Attribute set -> Default -> Groups. I checked that the discount attribute is present in the ...
0
votes
3answers
25 views

Magento 2.2.8 - Add Custom Attribute To Category

I need to add a wysiwyg attribute to the Magento categories, this needs to sit within the 'General Information' tab. I can't seem to get it to work and I've had a look around on StackOverflow and I ...
0
votes
0answers
19 views

Filter on Collection is not working after left join in Magento 2

I am trying to join the customer collection with custom table. Below is mine code. $customerCollection = $this->_customerFactory->create()->getCollection(); $connection = $this->...
0
votes
0answers
8 views

Magento2 category listing page left side attribute position set for specific category page wise change it

How to achieve in Magento2 category listing page left side attribute position set for specific category page wise change it.please if any idea replies me. by default, admin side manage it for ...
0
votes
1answer
28 views

How to show attribute value within the Temando Shipping module?

I'm having an issue with customizing the Temando Shipping module. I simply want to populate the below fields with the corresponding attribute value: Description Composition HS Code Country of ...
1
vote
2answers
61 views

Get product attribute block on category page: Magento 1.9

Here is the code display attribute block in PDP page, <?php echo $this->getLayout()->createBlock('catalog/product_view_attributes') ->setTemplate('catalog/product/view/...
0
votes
2answers
25 views

Magento M1 -> M2 migration, Class eav/entity_attribute_backend_array does not exist error

After migrating Magento 1 products to Magento 2 I get this error in backend when opening products: {"0":"Class eav/entity_attribute_backend_array does not exist","1":"#1 Magento\Framework\Code\...
0
votes
0answers
15 views

How can i set new attribute from quote item

I added a new column into sales_order_item i created programaticly order create and i would like to use this column in the order as attribute. This code add items to quote. Quote use sales_order_item ...
1
vote
2answers
27 views

Magento 2 - read and write new customer attribute

I added a new customer attribute n2gEmails: app/code/Fekete/Newsletter2Go/etc/extension_attributes.xml: <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
1
vote
2answers
18 views

Magento 2: New customer attribute not saving on admin

I created new custom customer attribute, it is added to admin edit customer page but its value cannot be saved. In /Vendor/Module/Setup/CustomerSetup.php use Magento\Eav\Model\Config; use Magento\...
0
votes
1answer
14 views

Changing Dropdown attribute to text in magento 1.9 without changing data

In Magento 1.9, I am going to convert my drop-down attributes to text field without changing my current data Below is the image of current attribute set
0
votes
1answer
41 views

Magento 2: How to group and make new sections in customer attributes in Account Information Tab?

I want to sort and group Customer Attributes in back-office view. There is no problem with sorting but how can I group it? There is no Attribute Set/Groups like for product attributes. I want to make ...
0
votes
0answers
8 views

Add attribute to the main menu navigation instead of categories

im looking to add custom attribute to the main menu navigation but i couldn't manage to do this. im using magento 2.3 and codazon theme.
0
votes
1answer
24 views

Magento 2: attribute default checkbox toggle

I have 2 websites sharing the same Magento 2 install. I have data in the short description on one store that I don't want to use anymore as I have the short description defined correctly at All Stores ...
0
votes
1answer
20 views

Magento 1.9.X: how to create custom order attribute?

How can I create new order attribut using install script? All my attempts failed and I don't know how to do this. No one custom order attribute doesn't added to eav_attribute teble. Help me pls)
0
votes
1answer
32 views

Magento 1.9: Getting all products and a corresponding attribute using SQL queries

I want to get all simple products and in addition, I want to get an attribute called title_name for those products. The attribute_id (from eav_attribute) of the attribute is 450. This is what I got ...
0
votes
0answers
27 views

Magento 2 | getAttributesUsedForSortBy() doesn't return “Position”

I used this module from GIT to improve my "Sort By" dropdown (https://github.com/springimport/magento2-module-catalog-dropdown-sort), however, i have an issue. The "Position" attribute from the "...
0
votes
0answers
18 views

Magento2 : Add new attribute set without Default attributes

I want to remove all the default attribute from my newly created product attribute set My script is : public function __construct(EavSetupFactory $eavSetupFactory, AttributeSetFactory $...
0
votes
1answer
36 views

Magento 2: add existing attribute to product

I have a question, is there a way to add existing attributes to new product? I have some attributes already created in my admin panel and want to add them programmatically , I guess there should be ...
-2
votes
1answer
57 views

Add Custom Attribute to Admin User: Magento 2

I want to add an extra attribute to the admin user form. I searched but unable to find anything guide me plz.
0
votes
0answers
16 views

Magento 1.9 catalog layered filter via ajax

How can we get the filtered data via ajax without using any plugin? I have created a module for ajax filtering. But don't know how to render the data through catalog/product/list.phtml. Does anyone ...
0
votes
0answers
24 views

Magento 2: Add Attributes to Minicart

I want to add custom attributes to the minicart. I have tried all the tutorials on the web, but it still does not work. The cart keeps showing "You have no items in your shopping cart." ...
0
votes
0answers
24 views

Quantity as filter like price in layered navigation in magento2

I want to display quantity like 0-10(2) 10-20(5) 20-30(3) in layered navigation. 0-10(2) 10-20(5) 20-30(3) But currently in Magento 2 Quantity is showing like Quantity In stock(50). How can I ...
0
votes
0answers
9 views

Magento2.1 search

After import attributes with magmi in magento2, search function is not working. It always shows no search result found in search result page. Reindex didn't help me
0
votes
0answers
25 views

problems in add a new image attribute in magento 1.9

add an image attribute and assign to a new group to an attribute set, but when I create a new product, I can see the group but could not see the table of the new image attribute. But it will be no ...
0
votes
2answers
36 views

Magento 2 Round off layered navigation max price in the price range

I want to round off the price range values in the layered navigation. Now it is showing as below $40.00 - $49.99 $50.00 - $59.99 $60.00 - $69.99 $70.00 - $79.99 $90.00 and above I want the following ...
0
votes
1answer
26 views

Magento 2.3.2: Customizable options disappear when saving product programatically

I'm running a script that bootstraps Magento to bulk-edit some products programmatically. At the moment, this is done like so: error_reporting(E_ALL); ini_set('display_errors', 1); use Magento\...
0
votes
0answers
15 views

Magento 2.3.X: Get custom attributes in conditions model

I created a custom module in which I need to insert a conditions model that also has custom attributes. So I have this model: namespace Vendor\Module\Model; use Magento\Quote\Model\Quote\Address; ...
0
votes
1answer
14 views

How to solve the issue “sku needs to be under 64 symbols”?

I'm receiving this error message below, my SKU has more than 64 symbols, but why does it happening?
0
votes
1answer
33 views

How to add custom drop-down in admin product image section

I am trying to add a custom drop-down in Product edit page. I want to add this drop-down in each image of the product. Please see the following screenshot how I want to show the drop-down. Can ...
0
votes
1answer
24 views

Magento2 eav queries issue

I have below queries on my pages for each attribute, It become more than 11000 request in my magento2 pages. any body can help me? SELECT eav_attribute.* FROM eav_attribute WHERE (eav_attribute....
0
votes
0answers
42 views

Update attribute

When I select more then one product and try to update attribute it goes to catalog/product_action_attribute/edit/ and get Has any idea about this error? 1 exception(s): Exception #0 (...
0
votes
0answers
21 views

Delivery Time is always displayed in “Ultimo”- template

While using "Ultimo" template can´t switch of delivery time attribute. When enabling delivery time attribute, it i shown twice in product view. When the attribute is disabled, delivery time is no more ...
0
votes
0answers
26 views

Magento2: show the attributes in the layered navigation based on the parent category

I want to show the attributes in the layered navigation based on the parent category. For example: In category page has 4 attributes in the filter. so all their subcategories pages have the same ...
0
votes
0answers
19 views

How can I show only these attributes on frontend that will be only checked in magento2?

How can I show only these attributes on frontend that will be only checked in magento2?
0
votes
1answer
29 views

Magento 2 Change base image when attribute is selected on catalog page

I want to change the base image depending on the color which is selected. So if i select "Olive Green", all the products with olive color single products must change the base images to the black ...
0
votes
0answers
17 views

Customer Address Field Labeled Wrong in Checkout (Magento 2.3 Cloud)

Im having a strange issue , i just created a "Customer Address Attribute" . It is showing correctly on filling Shipping Address , but when i go to Payment Method it shows me like this . Have any of ...
0
votes
0answers
19 views

Upload image color attribute in magento 2 is not working

i can't upload image color attribute in magento 2, it show this error, please help me
1
vote
2answers
58 views

Can't get custom attribute value magento 2

I have created custom attribute to product called thickness and i set visible in catalog product to yes but still getting null of this attribute I am going to store / product and created a new ...
0
votes
0answers
9 views

getAdditionalAttributeTable returning empty string

In the /vendor/magento/module-eav/Model/ResourceModel/Attribute/Collection.php file, the call below is simply returning an empty string, any ideas as to where this might be, or even where this ...
1
vote
1answer
64 views

Magento 2 Set order attribute via order create api

I've created a couple of order attributes using the method described here (https://www.yereone.com/blog/magento-2-how-to-add-new-order-attribute/) in order to save some data that is passed into ...
1
vote
2answers
52 views

Move additional attributes below short description

I want to move additional infos below short description. I found this: <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
2answers
40 views

Shop This Collection

How can I achieve the following image(shop this collection) in Magento 2 product page by adding an attribute?
0
votes
0answers
24 views

Manadev Advanced Filters - restrict by store view in magento 1.9

We are using a customized implementation of Manadev Advanced Filters in Magento 1.13.1.0, and we have multiple websites and stores set up on our platform. The filter results seem to sometimes include ...