Public Ticket #4555658

Order Status Visibility

Closed
Comments
4 Tickets 1
Peter Snape started the conversation 6 months ago on April 1, 2026 at 7:59pm

I set up the default payment gateway to "Purchase Order" and the default status is "on hold" which did not display in the B2BKing Dashboard. I then used your suggested snippet to change the default status to "processing" and the sale then displayed in the dashboard "New Orders". My question for you, is there a way to make an "On Hold" status order show up under "New Orders" on the B2BKing dashboard?

Thank you.

2,762
KingsPlugins replied 6 months ago on April 4, 2026 at 10:33am

Hi Peter,

Thanks for reaching out. I believe you're referring to the order count here under "You have X new orders"?: https://prnt.sc/VJFmJ0lEBQf8

By default, this mirrors WooCommerce's own behavior, which only counts "processing" orders in its dashboard counter: https://prnt.sc/pjN7FJiyCxUD

 

But yes, we can change that and make B2BKing count "on-hold" orders there too. Please just add this snippet to your theme's functions.php or any code snippets plugin:

add_filter('b2bking_dashboard_order_statuses', function($statuses) {
$statuses[] = 'on-hold';
return $statuses;
});

 

Let me know if you run into any issues with it or if there's anything I can help with,
Kind regards,
Stefan

1
4 Tickets
John Harapa replied 6 months ago on April 13, 2026 at 12:18am

Hello,


I have successfully made a payment of $579 for the "Startup for Life" plan, but my order is still not activated.

Here are my details:

- Date: April 13, 2026

- Amount: $579

- Payment method: M-Pesa VISA

Please check and activate my order as soon as possible.

Thank you.

Attached files:

Sign In