Public Ticket #3624080

Customer Load Issue

Closed
Comments
11 Tickets 1
Jim started the conversation 2 years ago on April 8, 2024 at 10:15pm

On our agent dashboard the customer section doesn't load and times out.  On the backend of woo-commerce it loads 50% of the time. 


Thanks

2,762
KingsPlugins replied 2 years ago on April 9, 2024 at 5:43am

Hello Jim,

If a site has a larger number of customers, that may slow down the agent dashboard page loading.

To solve this, you can enable AJAX loading for that page, by adding the following PHP code snippet to your site:

add_filter('salesking_load_customers_table_ajax','__return_true');

This snippet can be added to functions.php, or by following our guide here: https://b2bkingplugin.com/docs/how-to-add-a-snippet-php-or-js/

After adding that, it will load customers through AJAX, only loading X number of customers at a time,

Kind regards,

Stefan

1

Sign In