As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [modifier]

General questions about Magento 2 modifier

Filter by
Sorted by
Tagged with
5 votes
1 answer

causing error and conflicts with modifications

How can I troubleshoot issues with Magento 2 customizations and modifications that are causing errors or conflicts so please s0lve the error
Noor Mohamed's user avatar
0 votes
0 answers

Template literals `${ $.dataScope }` not parsing in UI Components

I am writing a module with a UI Component whose Modifier uses the ${ $.dataScope } Template Literal to pass information to a Modal. This is the code snippet, greatly simplified: Ui/DataProvider/...
dotancohen's user avatar
  • 1,105
1 vote
1 answer

How to hide product form custom field it it has null value and show if it is notnull

I have a field named 'soldout_date' in product form. If it has null value then i don't want to show the field in the form. But if it has some value then how to show?? I am using productmodifiers. ...
Alshihab's user avatar
  • 131
1 vote
1 answer

add categories tree to customer eav attribute

I'm trying to create an EAV attribute for the customer, and I need the input to be the product categories tree like the following image: Is this acheivable? And how? please.
AboElnouR's user avatar
  • 193
2 votes
2 answers

Add a dynamic note for a product attribute in the adminhtml

I'm trying to add a dynamic not based on the attribute-set besides the price field in Magento 2. After a lot of research, I've tried using PHP modifiers in UI components, and depending on the ...
AboElnouR's user avatar
  • 193
0 votes
1 answer

ui component modifier

I'm using Modifier class to disable some ui components on admin screen. But when I implemented modifyMeta() method, some of the needed ui components not included in the metadata array (eg: gallery) So ...
namikaze's user avatar
0 votes
1 answer

Product Form Modifier Datetime Can't store correct DateTime to product attributes

I created a product attribute called datedate want to store DateTime, in default Magento product attributes, just have a date input type, so I using Ui Modifier to config date picker support time, ...
陈孝右's user avatar
1 vote
1 answer

How to add 'switcherConfig' to a Modifier pool on Magento2

I have custom eav table whose attributes I'm getting dynamically on my modifier pool. But I want to add switcherConfig, as one of my fieldset display is dependent on a selected field value. Can anyone ...
Afreen Sheikh's user avatar
0 votes
1 answer

How does Magento 2 sku generated automatically?

I want to know how does Magento 2 sku generated automaticlly. I wonder when I type product name while creating new product in admin then its sku is automatically typed in sku field. I researched ...
Arshad Hussain's user avatar
0 votes
1 answer

Render Checkboxes in form modifier grid in Magento2 Admin

I'm building a feature where I need to render checkboxes for a set of comma-separated values in a column. Here's my existing code: protected function fillModifierMeta() { return [ ...
Amit Merchant's user avatar
1 vote
0 answers

How To Add Custom Data Into Product Edit Form DynamicRows Ui Component

I need to know how to populate a dynamicRows ui component I have added to the product edit form in Magento 2. I've got the data coming from a custom table and the data is getting through. I have the ...
David's user avatar
  • 73
1 vote
1 answer

Custom Field in Product Edit form in magento2 admin

I am trying to add custom text field in product edit form in admin panel. I have used below code in etc/adminhtml/di.xml <virtualType name="Magento\Catalog\Ui\DataProvider\Product\Form\...
jafar pinjar's user avatar
  • 1,839
3 votes
1 answer

Custom attribut value don't save in editing product from back-end

I've had a custom select option in the product edit in the backend. When I try to save the product, my option is not saved. Here the code : di.xml <config xmlns:xsi="
user3535832's user avatar
3 votes
0 answers

Error is showing saved data from database and display in dynamic row grid Magento 2

I am working on Magento 2.2.1 backend module. Basically backend part is a form that contains UI COMPONENT tabs. Everything is working fine except the last dynamic data rendered after saving the ...
rajat kara's user avatar
  • 1,209