In this tutorial, you’ll learn how to increase the WooCommerce variation limit AND whether you need to lift it or not. If you need to generate a few hundred variations you don’t need to raise the limit. For more WooCommerce tips and tricks check out this playlist: https://www.youtube.com/watch?v=KrOIFR04pMk&list=PLlgSvQqMfii4RPNBbdpjCdmlJfSJRt6Cw

Here’s the code for increase the WooCommerce variation limit. You’ll need to paste this into your wp-config.php file like I show in the video:

define(‘WC_MAX_LINKED_VARIATIONS’, 250);

Change the 250 to whatever you want your new variation limit to be. Although you could raise the limit into the thousands, you may not want to because it could put too much strain on your server. To combat this you can increase the memory limit using what I show in this tutorial: https://youtu.be/WmlGHje1V50

But even if you create thousands of variations successfully, having that many variations will probably slow down the product page for this variable product.
//*

Always backup your site just in case (or use a staging site), here’s how: https://www.youtube.com/watch?v=D1aYbayFpfU&list=PLlgSvQqMfii4l2cVV1TZ7j_kHs_2qmf4b

Join our private Facebook group today! https://www.facebook.com/groups/wplearninglab
//*
Here are 20+ reasons why I host all my sites with SiteGround: https://wplearninglab.com/siteground-wordpress-hosting-review/
//*
Post videos of your WordPress success using the hashtag #WPLLCommunity!

Get on the Unofficial Ultimate Guide To Elementor course waiting list here (no obligation): https://elementor.convertri.com/elementor-guide-waiting-list

Here’s the link for Elementor Pro (aff): https://wplearninglab.com/recommends/elementor

Grab your free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL

Download your exclusive 10-Point WP Security Checklist: http://bit.ly/10point-wordpress-hardening-checklist

I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.

WP Learning Lab Channel: http://www.youtube.com/subscription_center?add_user=wplearninglab

source