Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Order status – Main order and suborder

WCMp Core

Resolved
Viewing 6 reply threads
  • Author
    Posts
    • #121450
      tastetre.com
      Participant

      Hi,

      While an order is created wcmp creates a suborder against the main order which is visible to my vendor and other parties. My problem is my vendor updates the status of the suborder. But the same is not getting updated to my main order. Could you please help to resolve.

      thanks

    • #121457
      tastetre.com
      Participant

      Hi,

      After going through the knowledge base, https://multivendorx.com/knowledgebase/wcmp-split-order-module/ I understand multiple suborders are created if one order had products related to multiple vendors. The logic is fine but could you also bring in a provision to update the individual status against each of these orders since it would be confusing if a suborder status is changed to for eg: “complete” but the main order status doesn’t change and still shows “processing”. There is no provision to see this unless I as an admin go through individual orders one by one and change the status to complete.

      One more observation is, this logic applies even for single vendor single product order. The suborder status is changed for single vendor order but the main order status doesn’t change. Refer to the screenshot.

      thx

    • #121490

      Hi let me help you out with the flow :

      – When an order is created on the woocommerce end, we create the corresponding sub-order.
      – Now, we check the initial order status of the order from woocommerce’s main order and set same order status for suborders too
      – After that, each vendor/admin needs to change order status for each sub-order
      – Therefore, apart from initial order status, if you change status of an order, this will not affect the sub order’s status

      If you want to sync them then you have to do custom code. This thread will help you out :
      https://multivendorx.com/support-forum/topic/orders-and-sub-orders-synchronize/#post-119652
      https://multivendorx.com/support-forum/topic/issues-with-refunding-orders/#post-117331
      https://multivendorx.com/support-forum/topic/refunded-and-cancelled-orders-still-not-working-as-intended/#post-108761

    • #121504
      tastetre.com
      Participant

      Hi,

      This logic is good as long as a site allows multiple vendor products in a single cart. But in certain business-like (swiggy, zomato or other food delivery business like mine) we don’t allow multiple vendor products in a single order.

      In such cases the synchronization has to be two way. If the main order status changes the suborder status has to change and vice-versa.

    • #121533

      We understand your end.

      All you have to do is add the codes we have shared in that thread. These codes will sync the order status.

    • #121548
      tastetre.com
      Participant

      Thanks. Will try this.
      It would be nice if you can bring this as a configurable parameter for such business.

      thx

    • #121553

      As most of the site does let users purchase from multiple vendors, so adding this code will be a huge issue for them.

      However if we will receive the mass request, then we might add this in our plugin.

Viewing 6 reply threads

The topic ‘Order status – Main order and suborder’ is closed to new replies.