Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [attributes]

Magento Entity Attributes

0
votes
0answers
6 views

Magento 1.9.2. - foreach remove duplicate from options attribute value

I'm pulling out all the values ​​of the color attribute of the products associated with the product configurable with this foreach. foreach($simple_collection as $simple_product){ echo $...
0
votes
0answers
8 views

Magento 1.9.2. - Counter attribute color incorrect after import

Summing up after importing the configurable products the counter of color and size filter (which are the attributes that make up the configurable products) is not updated, even with a new reindex. It ...
0
votes
0answers
15 views

Unable to get custom customer Address attribute value to customer grid

I've created custom customer address attribute through admin panel. Attribute value is inserting in customer_address_entity_int table. I'm able to see custom attribute in grid options but attribute ...
0
votes
0answers
13 views

Create Attribute for Unit Price to use in Shopping Cart Price Rules

I'm trying to create Cart Item attribute to target the Unit Price of a product to use for Shopping Cart Price Rules. Can someone please guide me in the process of achieving this if at all possible?
0
votes
1answer
14 views

Simple product with attributes(Color and Size)

Can we make a simple product with attributes(Colors and size) for rental product cause I want to show attributes in simple product?
0
votes
0answers
21 views

Magento 2 - Layered navigation Parent and Child Category Filter issue

I am using WeltPixel layered navigation Free extension. In category filter, third level categories was not showing in filter navigation by default. I added some code to get third level categories. ...
0
votes
0answers
10 views

Customize Filter in layered Navigation

Hello, How can we achieve below? if a customer selects options from layered navigation (Magento vers. 2.3) and then goes to a product page, and then back to the category/search view, all of their ...
0
votes
0answers
20 views

Unique constraint violation found magento 2

I got this error when trying to add a new attribute for product can any one explain to me this error and how to fix it thanks in advance
0
votes
1answer
49 views

Magento 2 plugin change price of products that have a custom attribute with

I'm trying to change the prices of products with a plugin. And it works, basically. The problem is this: i only need to change the price of products that have a specific attribute, not the price of ...
0
votes
1answer
17 views

Magento 1.9.2. - Get Admin value of attribute option in frontend

I'm trying to recall in my configurable product the value of the 'color' attribute of the products associated with the foreach method: foreach($simple_collection as $simple_product){ echo "$...
0
votes
0answers
10 views

M2: Issue with filter by brands

We have any issue with filter products by brand: https://b2bstyle.pl/shoes-woman/sandals.html During select brand return "No products found". Anyone know where is issue and how to solve it?
0
votes
0answers
9 views

Is it possible to Extract Attributes with its all Values and their value Id's using My SQL in Magento 2

Is it possible to Extract Attributes with it's all Values and their value Id's using My SQL in Magento 2?
0
votes
0answers
13 views

Show attribute value which applies to all items in a category

Let's say I have a shop which is specialized in organic food but still offers non-organic food. All items have the attribute "organic" with the options "yes", "partially" and "no". There is a ...
1
vote
2answers
27 views

Magento 2 How to upgrade existing custom customer address attribute?

I have created a module, which creates one custom customer address attribute. In my attribute I have visible true, Now I need to visible false. I need to update that attribute. My code is as below: ...
0
votes
1answer
22 views

Element 'block', attribute 'remove': The attribute 'remove' is not allowed. Line: 745

I'm getting this error when I hit the front end. Couldn't able to find any solution regarding this. 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block'...
0
votes
0answers
33 views

How to Customize Checkout Page In Magento 2.2.6 Using checkout_index_index.xml

Any Magento Expert Developer Can Help Me In Modify Magento Checkout Page. I Want To Change Checkout Form Default To Like That Showing In Picture. Here's The Code Of checkout_index_index.xml ...
0
votes
0answers
20 views

Layered Navigation: Create Attribute Options for Drop Down During New Product Import

so I currently have product data in XML format. 1 XML File = 1 Product. Each XML has tons of product data and I am using a Wyomind's Mass Product Import to get them in. 90% of this process is perfect,...
0
votes
1answer
8 views

Renaming attribute entry

I have an attribute called "Size" (Attribute Code = config_size, attribute_id = 146) I need to re-name some of the entries but when I try and do it from Admin it doesn't change. Where can I change the ...
0
votes
2answers
24 views

Update field on `customer_entity` table

I created a new field on customer_entity table. $setup->getConnection()->addColumn( $setup->getTable('customer_entity'), 'profession', [ '...
2
votes
2answers
54 views

Magento 2 in how to remove the frontend in products empty values?

How to remove the products empty values ? How to solve this?
0
votes
1answer
30 views

How to remove/hide columns from sales grid by default

How can I remove or hide some of the columns from sales_order_grid. For example I want to hide next columns: Purchase point Ship to Name Signifyd Guarantee Decision I tried with overriding ...
1
vote
1answer
23 views

Get product collection by Country of Manufacture in Magento 2

I tried the following code but it's not working for me. /** * @var \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory */ protected $_productCollection; /** * @...
0
votes
0answers
10 views

Wrong calculation of VAT on attributes

Hi, hopefully you can help me. I have a problem with the addition of a product price and a selected attribute (or more) price(s) In this shop I have entered the prices / TAX setting: 'excluding VAT'....
1
vote
2answers
74 views

Magento 2: Custom Customer Attributes Showing in Customer Grid but Not Admin Account

I'm currently on Magento 2.2.6 and I created a multiple select attribute as well as a yes/no attribute for customers in the admin page, however I'm not seeing them show up and not sure where I went ...
0
votes
1answer
68 views

Hide products with no images on frontend

Is it possible to programmatically hide products on the front end that has no image? Running Magento 2.3.
0
votes
1answer
44 views

Magento 2 How to add custom field in customer_address_entity table? which will not use for front end or back end

I want to add one custom field in "customer_address_entity" table, for custom module. I have custom module installed. I am trying with "InstallData" script to add custom field. I do not want to show ...
0
votes
0answers
11 views

Create attribute with frontend input Magento2

Is it possible by coding or any extension to allow user to enter input using attributes. So just like Custom options I want to have the ability to input data on frontend. The reason I want to have it ...
0
votes
0answers
23 views

csv import new attributes

i want to add a new attribute into Magento 2. However i want to import a csv without everything else - categories all the mandatory categories as i just get url conflicts, does anyone know if this is ...
0
votes
0answers
36 views

magento 2 : Product listing default sorting order based on attributes

i have add sort by attributes to products say like below one. "Publish date" "Product Name" "Price" Now i want to change sort order based on default attributes. For eg 1: Publish date -> Descending ...
0
votes
0answers
8 views

Use default value product view backoffice magento

I have a problem in magento 1.7 when I'm trying to check the "use default value" on a product attribute. I would like to check programmaticaly the checkbox "use default value" when the global ...
0
votes
0answers
12 views

Hide products in front end with same Manufacturers Part Number

I have 3 data feeds coming through my store, each supplier that I use do stock in the majority of the same products, is there a way where I can only show one of the same product on the front end that ...
0
votes
1answer
36 views

How can I get a list of all of the product Attributes?

I have some code to get the product in my block template: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_product = $objectManager->get('Magento\Framework\Registry')->...
0
votes
1answer
73 views

Magento 2- How to move custom options after cart button?

I want to move custom options below Add to Cart button and also want to move short description within form tag.How can I achieve this? Also I want to know why my custom php code not working in ...
0
votes
0answers
14 views

Catalog Frontend Input Type changed from DB does not save

I changed the "Catalog Input Type for Store Owner" from "text" to "Yes/no" in the database (set to boolean in the eav_attribute table) because I could not change it from the backend. I made sure that ...
0
votes
0answers
60 views

Magento 2 Layered Navigation Not Displaying Price

I have enabled Layered Navigation in my admin, as well as enabling some product attributes to be used within it. However, it's not displaying on my category page. I have the category anchored and ...
0
votes
1answer
32 views

Invalid option value for attribute “size” in row

I am getting 2 below errors, please help me to sort out this issue 1. Value for 'size' attribute contains an incorrect value, see acceptable values on settings specified for Admin in the row(s): 2....
2
votes
1answer
37 views

How to show custom Attribute in items invoiced below the SKU in magento2.2.0?

I want to show Custom Attribute in items invoiced below the SKU in magento2.2.0? Please refer below screenshot.
0
votes
1answer
35 views

Magento 1.9.2. - Complete import of configurable products

I'm trying to import the new configurable products on my magento store with the eMagicOne program for Magento. I am following this guide: https://www.mag-manager.com/useful-articles/how-to-create-...
0
votes
0answers
19 views

Magento 2: How to change the custom filter price in navigation filter?

I have trying to change this code but I can’t do this ?? please tell me how to change custom price in this types??
1
vote
0answers
18 views

Magento 2: Product Attributes Option unable to use &

I am unable to use "&" in option of product attributes. Below is attached screenshot. If we add & to Default Store View or Admin it get auto removed on save, is there any fix it ?
-1
votes
0answers
10 views

Attribute Not displaying after editing

Initially I had an attribute called sizes, however it was displaying the sizes in the wrong order, so I rearranged the order. But now this attribute won't show on the products as it did before. Do you ...
0
votes
0answers
11 views

How to change filter values in magento 2 layered navigation?

I am trying to change the values of magento2 layered navigation. this below image is now current values. But I need the values to be like i. R0-R99 ii. R100-R499 iii. R500-R999 iv. ...
0
votes
1answer
18 views

addAttributeOption intger value not add in database using code

I have try to addAttributeOption() integer value add in database using my code. But i have facing on error message when i have add integer value in CSV (1) Not Working CSV:- 70024,70014,70010,70624,...
0
votes
1answer
28 views

Magento 2 - Add additional text before attribute

I use this code to display brand attribute value in the product view page: <referenceContainer name="product.info.main"> <block class="Magento\Catalog\Block\Product\View\Description" ...
2
votes
0answers
24 views

Magento 2.2: How to show a cutomer custom attribute on frontend?

I need to show my custom attribute in the next windows: On the address book: On the checkout page: And in the backend customer edit: It is possible assign the attribute with XML file without ...
0
votes
0answers
13 views

Magento 1.7 admin bulk edit product attribute order

In Magento's admin when bulk updating product attributes there are about six specific things we normally change (visibility, new from date, tax class, etc) but they are in somewhat of a random order ...
0
votes
0answers
29 views

Magento 2 Product Variants display

we have created multiwebsite ( Initially use the default website, after that we create other websites). I have assigned the product ( configurable product) newly added website and associated some ...
2
votes
0answers
60 views

Unable to update custom product attribute value programatically

I have created a few custom product attributes in Magento 2.2.6 and have no problem saving a new product with these new attributes, load this created product, and update the standard Magento ...
1
vote
1answer
20 views

How to filter simple products by size?

I'm new to magento and I have some troubles. I've managed to filter products by style or color, which are configurable products, but I can't figure out how to filter by size, where products are simple ...
0
votes
1answer
42 views

Magento 2, opposite of finset needed to filter a product collection

I have a problem in a product collection that I need to filter. I have a multiselect list with countries. When a selection is made the products need to be hidden from these countries. $collection->...