All Questions

Tagged with
35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
391 views

Magento2 : How to add row/pattern type of customer attribute

How to add a row/pattern type of custom customer attribute (dynamic rows). We have the below attribute in Magento 1, we need to achieve the same in Magento 2. I don't find any code reference for this,...
Bilal Usean's user avatar
  • 9,977
3 votes
0 answers
332 views

Magento 2: Retrieving and updating Attribute Options and Store Lables

I am currently trying to update an attribute options store label and facing some issues. I can successfully update option store labels by calling $storeLables = []; $optionLabel = $this->...
Glen Robson's user avatar
3 votes
0 answers
487 views

Magento 2 - Configurable product with multiple price attributes

I'm facing a dead-end with my configurable product and my simple products. Right now, i am struggling setting up my configuration prices in a way that make sense for my products. Since Magento 2 , ...
Soren's user avatar
  • 31
2 votes
0 answers
62 views

Add Attribute Bulk Value Using CSV File in Magento 2.3.3?

I have Magento 2.3.3 Store And I have too many Product Dropdown Attribute And One Attribute have a something 500 1000 value. So How can I add multiple values using CSV file or other options so, ...
Rohit Gohel's user avatar
1 vote
1 answer
1k views

Magento Custom Attribute Sorting - By Sort Order

I would like to get the catalog to sort by the custom attribute sort_order position. However, when using custom attributes to sort product collections, in MYSQL it sorts by attribtute value name, when ...
elfling's user avatar
  • 768
1 vote
0 answers
272 views

How to get the unused attributes from the table Magento 2 using SQL Query

I need to get the unused attributes from Magento DB that is not assigned to the Attribute set and not assigned to the production. Also i need to get the unused attribute sets. from Magento table
Sabareesh's user avatar
  • 358
1 vote
1 answer
666 views

Get admin attribute label

How can I get the Admin attribute label as shown in the pics? I can get the frontend store label for each store view in this way: $attribute = $_item->getResource()->getAttribute('format'); ...
KaMZaTa's user avatar
  • 205
1 vote
0 answers
145 views

How to dynamically change attribute value depending on the selected swatch or size?

I have a table in which I want to display product attribute data there, depending on the selected size or swatch. So that the value of the attributes in the table changes dynamically How to ...
Pavel Ivatsko's user avatar
1 vote
0 answers
254 views

How to filter a custom attribute in customer grid?

I've created a custom customer attribute (postive_cust_id) and got it to appear in the admin customer grid (following the instructions of this guide: https://magentodeveloper.in/add-custom-attribute-...
Richard Parnaby-King's user avatar
1 vote
0 answers
84 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 ...
JG Cabanas's user avatar
1 vote
0 answers
63 views

How to allow duplicate admin name values for color attribute in magento 2.3

As per Magento 2.3, it won't allow adding duplicate values for product attributes. For the temporary purpose, I want to allow the duplicate value of Admin, under color attribute. How can I restrict ...
1990rk4's user avatar
  • 593
1 vote
1 answer
470 views

Update custom data for customer

I'm trying to Create new customer attribute "last_login_at" to store customer last login date time. My requirement is to update "last_login_at" data for the customer after the customer logged in. I ...
trem jenny's user avatar
1 vote
0 answers
157 views

Magento 2.3 Layered Navigation Returns all Products, unfiltered

I have set up a store with demo products, installed the Porto, which uses MagePlaza layered navigation. However, when I use the layered navigation to filter the products down, it always returns all ...
Ben's user avatar
  • 11
1 vote
0 answers
126 views

Magento 2 - add custum attribute to urlrewrite programmatically

I am trying to regenerate the urlrewrites on magento 2.3. They are now created by the pruducts name /artist.html but i would like to to add some custom attributes. /astist-title-format.html to ...
mjamb's user avatar
  • 39
0 votes
0 answers
24 views

Have configurable product display different information based on selected option?

I know the image for each option can be set and will change based on which is currently selected, but can something like this be done for other information on the products page? For example, ...
sitemap's user avatar
0 votes
2 answers
146 views

What is the product attribute for product ID?

Every product recieves a unique ID, shown on the left on the product page screenshot. I do not choose this nunmber, the number is assigned by the system. Now I am trying to create a pricefeed with XML ...
Alexander 's user avatar
0 votes
1 answer
60 views

add "add to cart" button in popup containing attribute information

in catalog page, there is a tool tip next to each product,once we click on it a popup, that contain attribute detail and add to cart button, should appear. my question is how to add 'add to cart' ...
sara ben's user avatar
0 votes
0 answers
330 views

Magento 2.3 ElasticSearch Suite 1.9 Product Filter Not Showing Simple Products when selecting a colour. It will only show configurable ones

I'm working on a Magento 2.3.6 site which Catalog / Search Engine setup for ElasticSearch Suite 1.9. The products' visibility are setup this way: Simple products: Search Configurable products: Search, ...
Juan's user avatar
  • 1
0 votes
1 answer
173 views

When this attribute is displayed on the product page, its values must be different depending on the selected language

You need to add a new text attribute to all products in the Magento store. When this attribute is displayed on the product page, its values must be different depending on the selected language. ...
Jaisa's user avatar
  • 2,606
0 votes
1 answer
73 views

Magento 2: Alternative solution to large number of values inside 1 attribute

We have Product Attribute called "Authors" with "Multiselect option". It has entries up to 51k. When we edit product page in backend it becomes very slow to load page and specially ...
Mr.Devops's user avatar
  • 179
0 votes
1 answer
81 views

Hide filter options with 0 products in Magento2

I am using Magento 2.3 and need to hide filters in the layered navigation that contain zero products. What files should I modify to complete this?
user86226's user avatar
0 votes
0 answers
67 views

Magento 2.3.5 - Flat Catalog module has a limit of 64$d filterable and/or sortable attributes

I'm getting the error below during my setup:upgrade: The Flat Catalog module has a limit of 64$d filterable and/or sortable attributes. Currently, there are 67$d of them. Please reduce the number of ...
Sabareesh's user avatar
  • 358
0 votes
1 answer
341 views

Custom Link with Product edit form

I am using magento 2.3 version. I want to add anchor tag after product attribute Name. I tried with adminhtml_catalog_product_edit_prepare_form observer but not working. I also tried with JS but not ...
Aish's user avatar
  • 81
0 votes
0 answers
16 views

Embed attributes in Name or Description

I'm trying to work out a way of embedding attributes in other attributes, e.g. name or description in Magento 2.3 As an example static product name - Blue T-Shirt Size Large dynamic - {...
wjp_bill's user avatar
  • 330
0 votes
1 answer
820 views

How can I get the product attributes with GraphQL without knowing them?

I have a shop with several products and each product have his own attributes. I'm trying to get those attribute values of each product with GraphQL but I don't know what are the attributes. I want to ...
Francisco Teixeira's user avatar
0 votes
0 answers
448 views

Magento 2 category list page - add template - get product attribute

I want to add a custom template inside the category list page. Therefore I added the following inside my catalog_category_view.xml; <block class="Magento\Catalog\Block\Category\View" name="...
JGeer's user avatar
  • 1,418
0 votes
1 answer
810 views

Get attribute value in magento2

I am using an object manager to get the attribute value even though it's not recommended. I am getting NULL in product-object which causing error "GetattributeText() on NULL". Below is the code that ...
Aashik's user avatar
  • 31
0 votes
2 answers
318 views

Export product quantity from Magento 2.3 to CSV file

What is the proper code to export qty attribute from Magento 2.3 to CSV. $product->getQty(); - doesn't work. Thank you!
Esteban Aorta's user avatar
0 votes
0 answers
73 views

Magento 2.3 - Product Attribute Options Sort

I want to sort the product attribute option, can anyone help me which file I need to change for it. Ex. The brand attribute has so many options, I want to sort it alphabetical order in the admin side....
Manoj Pal's user avatar
  • 1,047
0 votes
0 answers
146 views

Display Product More Information In product Category Listing Page

i want to display product "More information" in catalog category page. I copy that code from /magento/module-catalog/view/frontend/templates/product/view/attributes.phtml <?php $...
user3328090's user avatar
0 votes
0 answers
32 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 ...
Ylgen Guxholli's user avatar
0 votes
0 answers
101 views

M2 - Get attribute group name

With the code below I can load all the attributes from a specific group, in this case attribute group with id: 37 <?php $av_attribute_group = $_product->getAttributes(37); foreach ($...
n00bly's user avatar
  • 623
0 votes
1 answer
33 views

I want show price after edit a product(admin panel->catalog->products->edit product) in magento 2.3

On this1 online shop, the price("pret") for all variation is same. I want that when I edit (and save) a product, to display the price on grid with products in admin. I think that I must take price ...
Ciprian Oancea's user avatar
0 votes
0 answers
270 views

Magento2.3.0 How to brand filter sorting left side layer navigation

I am using Magento2.3.0 i need to brand filter sorting for left side layer navigation. I attached image for layered navigation to clearly understand, where am i need.
Rv Singh's user avatar
  • 1,617
0 votes
2 answers
1k 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 ...
Jancy Abraham's user avatar