Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Order status change by WCFM
- This topic has 10 replies, 2 voices, and was last updated 6 years, 7 months ago by WCFM Forum.
- AuthorPosts
- April 9, 2018 at 1:51 pm #21515Camus ChanParticipant
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~
- April 9, 2018 at 7:31 pm #21527WCFM ForumMember
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
- April 10, 2018 at 1:55 am #21544Camus ChanParticipant
I am using WCVendor.
Is it any method for changing this? Should I ask WCVendor rather than WCFM here?
Thanks - April 10, 2018 at 6:20 am #21555WCFM ForumMember
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
- April 10, 2018 at 8:43 am #21564Camus ChanParticipant
Alright, i’ll consider disabling it.
But I think i will try to use woocommerce’s hook to solving this.
Thanks for the information^^ - April 10, 2018 at 12:34 pm #21579WCFM ForumMember
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
- April 11, 2018 at 8:57 am #21610Camus ChanParticipant
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. - April 11, 2018 at 9:05 am #21611WCFM ForumMember
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
- April 12, 2018 at 2:32 am #21642Camus ChanParticipant
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.
ThanksBest Regards,
Manskie - April 15, 2018 at 6:38 am #21826WCFM ForumMember
HI,
Sorry, there is no such hook/filter right now.
Don’t worry, we will add in next update be sure.
Thank You
- April 19, 2018 at 4:55 am #22028WCFM ForumMember
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
- AuthorPosts
- The topic ‘Order status change by WCFM’ is closed to new replies.