Increase WooCommerce product variation limit
How can I increase the number of default product variations in WooCommerce?
A WooCommerce variable product is a standard product type which allows you to offer a group of variations (different sizes, colors, prices and so on) in a product to your customer. This simply means that it shows a wider array of attributes which your customers can choose from.
In order to modify this setting, SSH into the server and open your functions.php file located here:
/wp-content/themes/YOUR_THEME/functions.php
Now, let’s modify the variable:
Constant – WC_MAX_LINKED_VARIATIONS
vs
Filter – woocommerce_ajax_variation_threshold
Related Articles:
About the Author: Dan Pock
Dan Pock does technical support at Liquid Web with a background in System Administration, Public Relations, and Customer Service. His favorite things include his cats, Oscar Boots, and Dash Nougat; experimenting with PHP; and making up recipes (or at least attempting to). You can find his coding hijinks on GitHub, where he shares most of his projects and open source work.
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
How to Clone a Drupal Site to Another Domain
Read ArticleTop Eight Virtualization Security Issues and Risks
Read ArticleAccessing Man Pages on Ubuntu 16.04 LTS
Read ArticlePremium Business Email Pricing FAQ
Read ArticleMicrosoft Exchange Server Security Update
Read Article