Hide Order Status

Dear all,



I would like to hide some of the default order status (at least for vendors, if I do not see them as an admin, fine as well). Anybody experience/an idea how to do that?



Kind regards



Jan

Please specify the statuses you want to delete. Almost all of default statuses are used by different functions. If you delete them, it can brake some functionality.

Hi eComLabs,



I don't want to delete…I just want to hide them…so that a vendor cannot use them…e.g. I will only use an offline payment method…this means I don't want them to be able to select “Failed”.



Kind regards



Jan

[quote name='hipe' timestamp='1404153199' post='186692']

I don't want to delete…I just want to hide them…so that a vendor cannot use them…e.g. I will only use an offline payment method…this means I don't want them to be able to select “Failed”.

[/quote]



Thank you for the message. Unfortunately there is no way to do it without additional conde modifications. If you are interested, please contact us

Anbody an idea in which files I have to look at?

[quote name='hipe' timestamp='1410465667' post='192027']

Anbody an idea in which files I have to look at?

[/quote]



You can use hooks in the fn_get_statuses function which is located in the app/functions/fn.common.php file

Thanks for the update…I don't understand the logic in there & how to do it via coding…the way I tried it on my local test installation is to change the statuses.type for the statuses I do not want to see from O to Z within the database. This works…can anybody foresee any problems doing it this way?



Kind regards



Jan

We should request this feature to remove the order status that we don t need.

Please request it here or contact cs cart team

https://forum.cs-cart.com/tracker/issue-8050-flexible-order-statuses-remove-useless-statuses-eg-for-servicedigiatl-products/