By default, from the edit product page, Woocommerce begins to paginate product variations once you have more than 20 for a single product. How can I remove this pagination, so that all product variations can be viewed at once from the edit screen, regardless of how many there are?
4 comments
Comments are closed.
The previous answer is an absolute no-go. NEVER change plugin core files.
Please do the following:
add the following line in your functions.php (preferably in your child-theme folder too)
//Display 24 products on archive pages
I achieved it thus (my use-case was to remove pagination entirely):
https://woocommerce.wordpress.com/2015/07/13/improving-the-variations-interface-in-2-4/
The pagination restricts editing and saving to 10 variations at a time. But you can change the amount using the woocommerce_admin_meta_boxes_variations_per_page filter if needed.
So, as per: https://www.thathandsomebeardedguy.com/increase-woocommerce-variations-per-page-in-the-admin-product-screen/ edit your functions.php and paste the snippet there.
By default WC set pagination as 15 variations but you can change it from below file