Code to add more variations per page on edit product page works but can’t save changes now.

[ad_1]

I added a code snippet to my wordpress so I can rearrange variations easier. The default 15 variations per page isn’t enough. The code snippet works but there is an issue with saving now. I tried 50 variations and have worked my way all the way down to 20 and any changes I make won’t save. I just get the progress circle spinning endlessly and nothing happens. Is there something going on with memory in wordpress? Can I change anything to help make this work?

This is the code I used:

add_filter( ‘woocommerce_admin_meta_boxes_variations_per_page’, ‘handsome_bearded_guy_increase_variations_per_page’ );

function handsome_bearded_guy_increase_variations_per_page() {
return 50;
}

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer