2.4 – Handling for 20 variations
-
Prior to 2.4, variable products were mostly Javascript based. This means that ALL variations would be loaded on the frontend. For sites with many variations, this could cause the single product page to load very slowly.
To combat this, 2.4 has a max variation threshold. If you have more than 20 variations, it will switch to an AJAX based form whereby the customer selects the options and then a matching variation is retrieved.
Read more about this change here https://woocommerce.wordpress.com/2015/07/13/improving-the-variations-interface-in-2-4/
To change the threshold (e.g. if you want the older handling back), you can use a snippet in your theme functions.php file:
https://gist.github.com/claudiosmweb/6f91ad228c2176b986b2
Change the ’10’ to your desired max amount.
- The topic ‘2.4 – Handling for 20 variations’ is closed to new replies.