Order status change by WCFM

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 10 reply threads
  • Author
    Posts
    • #21515
      Camus Chan
      Participant

      Hi Team,
      I got a question about changing status of the order.
      Let’s assume a case, a buyer buy productA, B and C from Vendor A, B and C respectively.
      Then, the order status is “Processing”, then, if one of the vendor mark the order as completed, the whole order will mark as completed (From Buyer’s view).

      But actually, this order is not yet completed as the other two vendor even not yet shipped the products.
      May I know is there any solution for such case or any hook that can allow me to customize the status until all vendor is marked the order as completed?

      Thanks WC Lovers Team~

    • #21527
      WCFM Forum
      Member

      Hi,

      Yeah, you are absolutely right.

      This option is best to use only if you have a store where one product ordered at a time.

      Or you are using Dokan as multi-vendor plugin.

      Thank You

    • #21544
      Camus Chan
      Participant

      I am using WCVendor.
      Is it any method for changing this? Should I ask WCVendor rather than WCFM here?
      Thanks

    • #21555
      WCFM Forum
      Member

      HI,

      I know you are using WC Vendors.

      I don’t think WC Vendors has any solution for this, in fact it does not provide this option.

      As this seems problematic for your system so better to disable this from WCfM capability.

      Thank You

    • #21564
      Camus Chan
      Participant

      Alright, i’ll consider disabling it.
      But I think i will try to use woocommerce’s hook to solving this.
      Thanks for the information^^

    • #21579
      WCFM Forum
      Member

      HI,

      This is impossible as there is only Order for all the products. So only order status.

      I mentioned you, this works perfectly only for Dokan multi-vendor because Dokan generates sub-orders for each vendor products.

      Hope you understand the limitation!

      Thank You

    • #21610
      Camus Chan
      Participant

      Hi Team,
      Just tried to disable the ability for updating the order as Complete for the vendor.
      But, now another tiny problem occured.
      Let use the example above, when all vendor marked the order shipped, the order status still keeping “Processing”,
      i want to write some custom code for “Mark Shipped” button, is there any hook behind this button? (I will try to check is all vendor mark shipped in this order-> If yes, change it to Shipped as well)
      Please let me know if there is, Thank you very much.

    • #21611
      WCFM Forum
      Member

      Hi,

      Actually there is no such Order Status exists “Shipped”.

      Only Order Note added for the purpose.

      Here also you will have same issue you if Order Status goes changed, as there is status for each Order Items and only one for the whole order.

      Thank You

    • #21642
      Camus Chan
      Participant

      Okay, I understand now.
      So, simply put, is there any hook for the submit button of the Tracking Information form after pressed “Mark Shipped” behind? I wanna do some custom code behind that button.
      Thanks

      Best Regards,
      Manskie

    • #21826
      WCFM Forum
      Member

      HI,

      Sorry, there is no such hook/filter right now.

      Don’t worry, we will add in next update be sure.

      Thank You

    • #22028
      WCFM Forum
      Member

      Hi,

      WCfM 4.0.6 has just released and we have added a hook for the purpose.

      Use this hook – “wcfm_after_order_mark_shipped” (Parameters -> $order_id, $order_item_id, $tracking_code, $tracking_url)

      Thank You

Viewing 10 reply threads
  • The topic ‘Order status change by WCFM’ is closed to new replies.