Hello @pixelanka,
Let me start by explaining the situation regarding the numbers displayed next to the order tab. Whenever a payment for an order is marked as processing, a corresponding number appears next to the order tab. We have confidence in the accuracy of these calculations. I’d like to draw your attention to a specific scenario as an example.
Imagine a scenario where a main order comprises two sub-orders. If you’re interested in obtaining the count for the main order exclusively, here’s where it gets interesting. In this scenario, if one vendor designates their order as “processing,” while the other vendor’s order remains in an on-hold or in another state, the question arises: which count should be attributed to the main order? This is precisely why we believe the number adjustment based on sub-orders is reliable.
Additionally, it’s important to note that sub-orders are a concept introduced by the Dokan plugin, allowing customers to purchase items from multiple vendors simultaneously. However, WooCommerce treats each sub-order as if it were a main order. This distinction is a fundamental reason for the counting methodology we employ.
I trust that this information provides clarity on the matter.