Okay
  Public Ticket #3446414
Customers dashboard times out with manage all customers option enabled
Closed

Comments

  •  10
    Justin started the conversation

    When I turn on the manage all customers option and go to the sales agent dashboard it times out. We have 32,000 customers, is it trying to load all of them at once?

  •  1,906
    WebWizards replied

    Hello Justin,

    Thank you for purchasing our plugin,


    Please add this PHP code snippet to your site:

    add_filter('salesking_load_customers_table_ajax','__return_true');
    

    It will enable AJAX for the customers table - I believe that should solve the issue.


    A PHP 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/


    Let me know if I can help with anything, or if you have any questions,

    Kind regards,

    Stefan



  •  10
    Justin replied

    Thanks, it's better. It does load now but it takes like 30 seconds to load each page of users. Everything else is loading quickly.

  •  1,906
    WebWizards replied

    30 seconds is still a lot, I am not entirely sure why.

    Is it possible to share a backend access with us to the site, or a staging clone site we could work on? I'd like to look into it directly to see if we can solve that.

  •   Justin replied privately
  •   WebWizards replied privately
  •  10
    Justin replied

    Fantastic, thank you!