1. Home
  2. Plugins & Add-ons
  3. RH Frontend Publishing Pro
  4. To increase the limit of Product attributes in the Product form

To increase the limit of Product attributes in the Product form

Currently, the plugin limits WooCommerce Products attributes in the Product form because of some servers has some limit value for ‘max_input_vars‘ (Increasing your ‘max_input_vars’ value). Current limit is 30 attributes.

You can increase this limit in two ways, of course, if your server allows you to do so :

  • By adding unused attributes to the “Exclude taxonomy” area in the form settings:
  • By using a WordPress filter which is added to the plugin. To do this, you must have developer skills. Add the function below to the functions.php in Blankchild Rehub theme. Note, the child theme must be activated. How to customize your theme.
if(!function_exists('bd_wc_attributes_limit')):
	function bd_wc_attributes_limit(){
		return 50;
	}
endif;
add_filter('wpfepp_wc_attributes_limit', 'bd_wc_attributes_limit');

Where a number is a required limit.