Okay
  Public Ticket #4413502
B2BKing Plugin signifcantly slows down backend
Open

Comments

  •  2
    Ryan Klatt started the conversation
    • Loading the product page with the B2BKing plugin disabled took .93sec
    • Loading the product with the B2BKing plugin enabled took 10.88sec
    • Updating the product page with the B2BKing plugin disabled took 1.29sec
    • Updating the product with the B2BKing plugin enabled took 9.72sec

    As you can see this is causing a significant performance hit on the backend of the website. This plugin is frustrating both me and clients trying to load and update product pages. What solutions do you have for this?

    Attached files:  Screenshot 2025-08-25 133700_without_b2bking.png
      Screenshot 2025-08-25 133742_with_b2bking.png
      Screenshot 2025-08-25 154044_without_b2bking.png
      Screenshot 2025-08-25 154001_with_b2bking.png

  •  2,499
    WebWizards replied

    Hi Ryan,

    Sorry to hear about the performance issues. Possibly this might be related to dashboard data loading, especially if your site has a large number of orders.

    Let's try this solution first - please add the following code snippet to your functions.php file or a code snippets plugin:

    add_filter('b2bking_enable_dashboard_data','__return_false');

    If that's the issue, this should help significantly.

     

    If this doesn't resolve the issue, there could be a plugin conflict or another underlying cause, as B2BKing shouldn't normally add noticeable loading times to product pages.

    To help investigate this further and troubleshoot, would you be able to share temporary backend access to the site or a staging environment? 

     

    Kind regards,
    Stefan

  •  2
    Ryan Klatt replied

    I added that code snippet and it didn't make a difference. I'll add you as admin to the site in the next reply as private. Also, I have disabled every plugin one by one and came to the conclusion that it was yours that was adding significant loading time throughout the backend and especially when updating or editing the product page. I appreciate the help!

  •   Ryan Klatt replied privately
  •  2
    Ryan Klatt replied

    Enable the Query Monitor plugin whenever you are testing things out. I've disabled it for now.

  •   Ryan Klatt replied privately
  •   WebWizards replied privately
  •  2
    Ryan Klatt replied

    Thank you that worked!