WooCommerce: Increase Variations Per Page within Product Admin Screen

If you have ever found it troublesome when trying to reorder your product variations for a particular product, there’s actually a code you can add to your functions.php file within your WordPress theme. This code will increase variations per page within the product admin screen.

Note: Be aware that this code could negatively impact server performance and also the loading time on the product edit screen. You may see a “Page Unresponsive” message when trying to save. Click on “Wait” to wait it out.


/* Change Variations Per Page within Product Admin Screen */
add_filter( 'woocommerce_admin_meta_boxes_variations_per_page', 'custom_increase_variations_per_page' );

function custom_increase_variations_per_page() {
     return 50;
}

You can change “50” to a higher number to show more variations on the screen. Once you are finished using the code, you can comment it out from your functions.php file.

Other Helpful Articles

Transferring Large Files

Sometimes when you have a designer or developer work on a project, you may have to send over large files to them. It is difficult for some people to send large files, especially if they aren’t tech savvy. Some of these large files might be for some graphic design project,

Read More »

Disable Product Pages in WooCommerce

Add the following code to your functions.php file to disable users from accessing product pages within WooCommerce: /* Remove Links to Access Product Pages */ remove_action( ‘woocommerce_before_shop_loop_item’, ‘woocommerce_template_loop_product_link_open’, 10 ); remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_product_link_close’, 5 ); /* Prevent Users from Accessing Product Pages by Displaying the 404 Page */ function prevent_access_to_product_page(){

Read More »

What Do You Need Done?:

(Please check all that apply)

Tell Us About You

Almost Done!

Let's Get Some Info

Let's Get Some Info

Let's Get Some Info

Let's Get Some Info

Let's Get Some Info