Website Building » WooCommerce » How Do I Increase Product Variations Limit in WooCommerce?

How Do I Increase Product Variations Limit in WooCommerce?

Last updated on October 1, 2022 @ 3:13 pm

As your business grows, you may find that you need to increase the number of product variations that are available in WooCommerce. This can be done by increasing the Product Variations Limit setting in WooCommerce. To do this, go to WooCommerce > Settings > Products > Inventory and increase the number in the Product Variations Limit field.

If you have a lot of products with many variations, you may need to increase the memory limit on your server as well. You can do this by editing the wp-config.php file and adding the following line:

define(‘WP_MEMORY_LIMIT’, ‘256M’);

You will also need to increase the maximum execution time for PHP scripts on your server. This can be done by editing the .htaccess file and adding the following line:

PRO TIP: If you are using the WooCommerce plugin for WordPress, you may have noticed that there is a limit to the number of product variations that you can create. By default, WooCommerce allows you to create up to 50 product variations. If you need to create more than 50 product variations, you will need to increase the limit.

To increase the limit, you will need to add the following code to your wp-config.php file:

define(‘WC_MAX_PRODUCT_VARIATIONS’, 200);

This will increase the limit to 200 product variations. You can change the number to anything you want, but keep in mind that too many product variations can slow down your website.

php_value max_execution_time 300

If you are still having issues, you may need to contact your host to have them increase the limits for you.

Increasing the Product Variations Limit setting in WooCommerce will allow you to add more product variations to your products. You may also need to increase the memory limit and maximum execution time for PHP scripts on your server.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.