cancel
Showing results for 
Search instead for 
Did you mean: 

Can't add more than 100 simple products to bundled product

SOLVED

Can't add more than 100 simple products to bundled product

Trying to add more than 100 simple products as available options in a bundled product but a weird thing is happening as it is not allowing to save it further. When saved the last options actually disappear from admin.

 

Any idea why this is happening? Or if there a limit?

 

There must be some configuration changed needed at server or Magento level.

5 REPLIES

Re: Can't add more than 100 simple products to bundled product

Hi.

 

This might be to do with the max_input_vars PHP variable. Because so much data is being submitted when adding that many products you may need to increase this variable. If you are submitting more data than this variable allows it will truncate the data.

 

http://php.net/manual/en/info.configuration.php#ini.max-input-vars

 

Regards,

Andy

Problem solved? Click Accept as Solution!
www.iwebsolutions.co.uk | Magento Small Business Partner

Re: Can't add more than 100 simple products to bundled product

Hi,

 

Thanks. Have tried increasing max_input_vars to 8000 from the default 1000 but still facing the same issue i.e. last options that are added get vanished upon saving. 

 

Any other thing to be changed to make it better?

 

Re: Can't add more than 100 simple products to bundled product

Hi.

 

If you are getting an issue with max_input_vars you will be getting a php warning somewhere. Possibly in the apache logs on your server. Can you check that first to see if yo are getting any errors / warnings.

 

Also, what version of Magento are you using?

 

Regards,

Andy

Problem solved? Click Accept as Solution!
www.iwebsolutions.co.uk | Magento Small Business Partner

Re: Can't add more than 100 simple products to bundled product

Hi Andy,

 

The issue got resolved by restarting php-fpm:

/etc/init.d/php-fpm55 restart

 

The value that we changed wasn't in effect unitl php-fpm restarted.

Re: Can't add more than 100 simple products to bundled product

But how to solve problem in magento 2.1.12 ?


@navaidahmedwrote:

Hi Andy,

 

The issue got resolved by restarting php-fpm:

/etc/init.d/php-fpm55 restart

 

The value that we changed wasn't in effect unitl php-fpm restarted.