Tagged: suborders, vendor management, vendors
- This topic has 9 replies, 3 voices, and was last updated 10 months, 2 weeks ago by
Anushka Sinha.
-
AuthorPosts
-
-
April 6, 2025 at 6:45 PM #240478
dennis
ParticipantHey 🙂
1) Is there a possibility to update the calls for orders in the vendor dashboard order management, so it only returns the parent orders for the given vendor?
2) Else – is there a possibility to totally turn off suborders? I only use the main orders for my vendors, since my customers is not allowed to combine products from multiple vendors anyway.
Best Regards,
Dennis -
April 7, 2025 at 3:30 PM #240492
Anushka Sinha
ModeratorHi @Dennis
Thank you for reaching out to us.
I would like to inform you that suborders are an integral part of the MultivendorX and cannot be completely turned off. Without suborders, a vendor would not be able to manage their orders effectively.However, you can sync the parent order and suborder statuses. To do this, you can refer to this code snippet: https://multivendorx.com/docs/code-snippet/parent-order-and-sub-order-status-sync/
Additionally, if you’d like to hide suborders from the customer’s “My Account” page, you can use the following code:
https://multivendorx.com/docs/code-snippet/disable-the-suborder-for-wordpress-dasboard/Now coming to the first point, in order to assist you more effectively with this flow, could you please provide more details about what you’re looking for? This will help us better understand your needs and provide a more accurate solution.
-
April 7, 2025 at 5:43 PM #240498
dennis
ParticipantWell, I need them to just see the parent orders.
I dont use the child orders, since I dont calculate commissions etc. inside MultiVendorX – I have just made my own functions to handle the vendors possibilities of changing status etc.So – what I need is to make sure they only see the parent orders in their orders table.
I can edit the mvx-ajax call, so the WP_Query has “post_parent=0”, but that will not work after updates etc., so that is not a good way to go.
I can also make my own orders list view file, but that would take much longer than just being able to filter child orders / sub-orders).
-
April 7, 2025 at 6:36 PM #240499
Anushka Sinha
Moderator@dennis, The modification you’ve made has directly altered the core plugin code.
To implement your changes more safely and efficiently for the Vendor Dashboard, I recommend using the following filter instead:
mvx_datatable_get_vendor_all_orders -
April 7, 2025 at 7:52 PM #240501
dennis
ParticipantHey 🙂
And how can I implement that filter to add an argument in the wp_query like post_parent => 0?
-
April 7, 2025 at 10:01 PM #240502
Sangita Support Squad
KeymasterThank you for getting back to us. I’ve shared your query with the development team, and I’ll keep you updated as soon as I receive their response.
Thanks again for your cooperation.
-
April 8, 2025 at 12:09 PM #240507
Sangita Support Squad
Keymaster@Dennis, thank you for your understanding.
Regarding your query, the shared filter already supports passing arguments through WP_Query, so you can implement your custom logic using it as needed.
If you have any further questions, feel free to reach out.
-
April 8, 2025 at 6:27 PM #240511
dennis
ParticipantCan you help me on how I can do that? I simply cant see how I can add parameters to the ajax call.
-
April 8, 2025 at 6:35 PM #240513
Sangita Support Squad
Keymaster@Dennis, Thank you for reaching out. At the moment, we don’t have a ready-made code snippet available for your specific requirement. However, you can achieve the desired outcome by implementing your own custom code using the shared filter.
If you need any further assistance or have additional questions, please don’t hesitate to let us know — we’re always happy to help.
-
July 1, 2025 at 3:08 PM #248109
Anushka Sinha
ModeratorHi there !
We haven’t heard back from you in a while, so we assume your query has been resolved. We’ll be closing this thread now.
If you need any assistance in the future or encounter any issues, feel free to create a new support thread. We’re happy to help!
-
-
AuthorPosts
- The topic ‘Only show parent orders for vendor in Vendor Dashboard and/or disable suborders’ is closed to new replies.






