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
49 views

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
27 views

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
51 views

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
66 views

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
437 views

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
250 views

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
37 views

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
1k views

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
732 views

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
321 views

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
484 views

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
4k views

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
395 views

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="http://www.w3.org/2001/...
user3535832's user avatar
3 votes
0 answers
523 views

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