Mandatory translatable fields

Hi,
I have an issue with mandatory translatable fields.
Whenever I add a new language, I get a new mandatory field in the existing product objects from the new language, which is empty.


So when I go to ‘ADD TO CART’, I get an error because the product stock is updated and the product object should be saved. But saving the product fails because of the new mandatory translatable field is empty which was added from the new language.

Also, If you create a data object you need to fill out mandatory fields for all possible languages, even if they are not used.

Any suggestion on how to handle this?

Hi,
you could call $object->setOmitMandatoryCheck(true); before saving the object.

BR
Christian