Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Stephan Stanzione

Issue exporting “Products Sold” WooCommerce value


I’m having an issue with my current version of admincolumns. Previously, I was able to run an export for “Products Sold”, which is a column that can be configured into a custom Product view, with the ability to export the value based on the product being in a specific Order Status. I’m able to run several other large(ish) exports (+1000) products with no issue, but when I try to include this “Products Sold” value, the export will cease working altogether. Other exports ran though the plugin not including this field will take 30 seconds or so.

Any help would be greatly appreciated.


10 months, 2 weeks ago
Stefan van den Dungen Gronovius

This specific column, is quite heavy on performance, so the default items that are processed per batch (250) might be too high for your environment. You could try to lower this amount with the following hook:

You can put it to 100 and see if that works:

add_filter( 'ac/export/exportable_list_screen/num_items_per_iteration', function( $number ){
    // Default = 250;
	return 100;
} );
10 months, 2 weeks ago

You must be logged in to reply to this topic.