How to make a field required on product edit page only if another filed is checked
-
02-03-2021 - |
Frage
I have creaed two product attributes "show member price" and "member price". By default the field Member price is non mandatory. But when the admin checks the "show member price(checkbox)" filed than the field "member price(text)" should become mandatory but for now the filed remains non mandatory in both the conditions.
Please help. Thanks in advance.
Keine korrekte Lösung
Andere Tipps
I came through this page which should help you - https://webkul.com/blog/depend-attribute-field-attributes-field-admin-form-magento2/
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange