I am getting a broad error when trying to save a product configuration:
Some product variation fields are not valid.
See screenshot (click for full size):
What do I need to change?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityUnfortunately the message is not very helpful and does not highlight which variation and which fields are invalid. I don't see what's wrong from the screenshot. The weight is missing but that should not be a problem. A possible reason could be an SKU that is already in the system.
You don't need to add all variations at once, try to add them one by one and see where it fails. Or if that still does not help, create them directly as simple products and then associate them to the configurable product. In the normal product form, the validation messages are more useful.
The Attribute set for the "Simple Products" must match the Attribute set for the "Configurable Product" in order to connect them.
apparently this is a bug. The workaround would be : 1. create a configurable product. 2. set up one configuration then try to save the product 3. if you get the above error, go and create simple products for each of the options. 4. Add each option using "Add Products Manually"
i also faced same issue and finally i solved it issue is few of attribute are required filed that is why this error will come , to know which are the required field follow below steps
soon after clicking save button internally one ajax call is happen , just try to see that response of that ajax call it will be some thing like
{"error":true,"message":"Some product variations fields are not valid.","attributes":{"variations-matrix-177-visibility":"The value of attribute \"visibility\" must be set","variations-matrix-177-description":"The value of attribute \"description\" must be set","variations-matrix-179-visibility":"The value of attribute \"visibility\" must be set","variations-matrix-179-description":"The value of attribute \"description\" must be set","variations-matrix-178-visibility":"The value of attribute \"visibility\" must be set","variations-matrix-178-description":"The value of attribute \"description\" must be set","variations-matrix-180-visibility":"The value of attribute \"visibility\" must be set","variations-matrix-180-description":"The value of attribute \"description\" must be set"}}
after seeing the response you can identify the required fields visibility and description Are the fields which causing the Some product variation fields are not valid. error
or short way is go to product attribute grid and filter required to YES then you will get all required fields