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

WooCommerce: Add A Shipping Notice on the Checkout Page

If you need to display a custom message on the checkout page of your WooCommerce site, you can place the following code into your functions.php file. Be sure to make your own styling and text changes: /* Add Shipping Notice Below Shipping Notes on Checkout Page */ add_action( ‘woocommerce_after_order_notes’, ‘custom_shipping_notice’

Read More »

Setting Up WooCommerce Products

Having a WooCommerce store is a great way to sell things online. However, when setting up WooCommerce products, it’s important to note what you will need for adding products to your store. The following are items that are needed for each product: Product Title Product Description and/or Product Short Description

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