I have many fields on my products, some are fields and some are dropdowns.

There are some fields which needs to be hidden and only show if certain conditions are true e.g. a specific option was selected.

How can I make these fields only required if they are needed?

Of course I always get the message

“Please specify the product's option(s)”

If I try to buy the product and if there is a hidden required field.

Removing the class required-entry does not help at all, since it is validated server side too.

Magento also ignores hidden or disabled fields...

How can I deal with this?

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.