How to register a mandatory field by selecting a product type?
Summary
Mandatory Field Selecting a Product typeContent
Hello team!,
I need to know how I can achieve that if the client selects a category of a specific product, immediately the field of "attachments" is enabled as mandatory.
I need this only for five categories, that is, when the client selects one of them, the attachment field becomes mandatory. If, on the other hand, the customer chooses another category, leave the normal "attachment" field.
I have made the attached field mandatory for all categories, but I need it only for specific categories.
If anyone knows how to achieve it, I appreciate it!
0