We can Increase WooCommerce Variations per page in Product editor by using the WooCommerce provided filter called woocommerce_admin_meta_boxes_variations_per_page
This helps greatly in the case of products with many variations.
The snippet below will set the number of variations displayed to 150. You can edit it as needed. Please be aware that this may have a negative impact on server performance and the loading time of the product edit screen.
Copy the code below and paste it in your active theme’s function.php file.
add_filter( 'woocommerce_admin_meta_boxes_variations_per_page', 'guru_increase_variations_per_page' );
function guru_increase_variations_per_page() {
return 50;
}
Last modified: May 13, 2024