How to make a field required on product edit page only if another filed is checked
-
02-03-2021 - |
문제
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.
올바른 솔루션이 없습니다
다른 팁
I came through this page which should help you - https://webkul.com/blog/depend-attribute-field-attributes-field-admin-form-magento2/
제휴하지 않습니다 magento.stackexchange