Can not add more simple products to bundle product

I get an issue with bundle product. I can not assign more simple products into bundle product. The issue only occurs on our production site, NOT our dev site. That’s weird. I try to debug on production site, few bundle products have this issue.

Example of my case:

  • I have about 100 simple products in a bundle product. I add more 101 products then I save, it still has 100 products without any error.
  • I’m attempting to remove a simple product then adding a new one. I save it… Oh, it works with only 100 products. I can change the simple products but it must be lower 100 products?!

I look around the server config and I see few things are related with issue:

post_max_size = 8M

max_input_vars = 1000

I increase double 2 values:

post_max_size = 16M

max_input_vars = 2000

The issue has been fixed. It causes the limitation of input value in form. When we assign a lot of simple products, we have a lot of inputs to submit. The server limits the submitted data so we lost the new data.


Leave a Reply