I have extended product form functionality by using product_form.xml in the added fieldset. now I have to hide that fieldset on a particular condition, like on module disable.

I know about the modifierPool from there I can hide that field by putting a condition in.

But is there any way to do it in XML like dependsOnConfig as we are using in menu.xml?

  • have you try with Dataprovider ? – Chirag Patel Nov 2 '18 at 12:48
  • @ChiragPatel Yes i have tried with it.. but it can not give custom fieldset in array list. which i have declared in product_form.xml in my module – Himanshu Nov 2 '18 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.