Magento ver. 2.2.4
Developer mode/Production Mode

Steps to reproduce

Add your own colors

Expected result

You should be able to add as many colors as you want.

Actual result

After 39 color swatches, new colors are not saved even though you still get the "You saved the product attribute." success message.

You could increase max_input_vars from your php.ini. The problem was the limitation of max_input_vars which limits the number of parameters while sending to server on your post request each time you click on Save swatch attribute.

  • Thanks it solved my problem i set it up to 5000 and its working. – Prits May 2 '19 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.