Comments 1Jim started the conversationApril 8, 2024 at 10:15pmOn 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,214WebWizards repliedApril 9, 2024 at 5:43amHello 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://woocommerce-b2b-plugin.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,Stefan1 Like Sign in to reply ...
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
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:
This snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.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