Questions tagged [modifier]

General questions about Magento 2 modifier

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

Undefined index on product listing modifier

I created a product custom attribute $eavSetup->addAttribute( Product::ENTITY, 'is_subscription_product', [ 'is_visible_in_grid' => true, '...
Claims's user avatar
  • 1,146
0 votes
1 answer
40 views

Magento2 catalog product edit related

I am trying to override Related in the product edit to remove it but it does not work In my file etc/adminhtml/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
Tom's user avatar
  • 157
4 votes
1 answer
66 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
1 vote
1 answer
89 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
  • 161
1 vote
1 answer
131 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
  • 213
2 votes
4 answers
575 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
  • 213
0 votes
1 answer
342 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
49 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
880 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
350 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
545 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,929
3 votes
1 answer
405 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
537 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