Public Ticket #3082795

edit order status

Closed
Comments
20 Tickets 9
karaca11 started the conversation 4 years ago on July 12, 2022 at 11:21am

Hi, 

The order status information in the seller admin panel is not getting the information in the Woocommerce order detail in the admin panel. Can we get order status information from here (Woocommerce orders)?


2,762
KingsPlugins replied 4 years ago on July 12, 2022 at 3:31pm

Hi there,

I think we can help with a code snippet that does that.

Can you please clarify, are you using CUSTOM statuses ? (for example are you creating custom order statuses with some plugins)

Or are you just looking for the statuses Pending, Refunded, Failed, etc?


Kind regards,

Stefan

20 Tickets 9
karaca11 replied 4 years ago on July 12, 2022 at 4:35pm

It will be sufficient to have the following order information; Thank you

Please enter in Turkish

- Ödeme Bekleniyor
- Hazırlanıyor
- Kargoya Verildi
- İptal Edildi
- İade Edildi
- Sipariş Tamamlandı


2,762
KingsPlugins replied 4 years ago on July 12, 2022 at 4:55pm

I would like to explain a little about how this works in MarketKing:


The options: 'Pending Payment' , 'Cancelled', 'Refunded', 'Failed' are also available in MarketKing, BUT by default the vendor cannot choose them - we do not give permission to the vendor to change the order to these statuses.

We can change this with a code snippet if you'd like.

To do that:

1. First go to Plugins and update MarketKing Core to the latest 1.0.72 version

2. Add this PHP code snippet to your site:

add_filter('marketking_vendor_can_all_order_statuses', function($val){
    return true;
}, 10, 1);

Now the vendor can choose all options:

9367815547.png



Please enter in Turkish

- Ödeme Bekleniyor - Hazırlanıyor - Kargoya Verildi - İptal Edildi - İade Edildi - Sipariş Tamamlandı

We cannot add this directly because we also need the status SLUG. 

My suggestion is you follow the steps above and then just translate the statuses if necessary.


Kind regards,

Stefan


1

Sign In