Home Forums Plugin Support Others Order Status

This topic contains 9 replies, has 2 voices, and was last updated by  Nayem 3 years, 10 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #45323

    WAYTOGOON SL – CIF B76648989
    Member
    Post count: 68

    in order status I have various choices,
    1) pending payment
    2) in process
    3) pending
    4) completed
    5) deleted
    6) failed
    7) preorder

    I would like to delete from the display in dokan choices 1, 5, 7 how can I do?

    #45330

    Nayem
    Moderator
    Post count: 6480

    Please open Dokan plugin folder/inlcudes/order-functon.php file. In this file you will get these code- function dokan_get_order_status_class( $status ).

    Thanks.

    #45331

    WAYTOGOON SL – CIF B76648989
    Member
    Post count: 68

    I deleted the lines:
             houses ‘pending':
             houses ‘toilet-pending':
                 return ‘danger';
                 break;

    and

             houses ‘canceled':
             houses ‘toilet-canceled':
                 return ‘default';
                 break;

    but I still see them!

    #45332

    WAYTOGOON SL – CIF B76648989
    Member
    Post count: 68

    I deleted the lines:

    case ‘pending':
    case ‘wc-pending':
    return ‘danger';
    break;

    and

    case ‘cancelled':
    case ‘wc-cancelled':
    return ‘default';
    break;

    but I still see them!

    #45382

    WAYTOGOON SL – CIF B76648989
    Member
    Post count: 68

    once you entered the order file-function.php and reached the line:
    function dokan_get_order_status_class( $status )
    How can I disable the choices ???
    I can not understand please give me an answer!

    #45410

    Nayem
    Moderator
    Post count: 6480

    Hello,

    To remove from there its complicated. On the top of that page line number 16 there is some condition. So you may require lots of change. If it needs little bit of code then it was possible to provide you. But it will require lots of change.

    Thanks.

    #45437

    WAYTOGOON SL – CIF B76648989
    Member
    Post count: 68

    I absolutely need that you provide me the code to only have the choices:
    1) pending payment
    2) in process
    3) pending
    4) deleted
    5) completed
    6) refunded

    only these choices have to go to the store the other no …
    other options I see are:

    failure
    preorder

    these two choices I have to appear can not be handled by the store

    #45446

    Nayem
    Moderator
    Post count: 6480
    This reply has been marked as private.
    #45452

    WAYTOGOON SL – CIF B76648989
    Member
    Post count: 68

    ok, I did not understand… you thought you could provide the customization, I advise you to include in future releases can manage this option

    #45453

    Nayem
    Moderator
    Post count: 6480

    Hello,

    I will keep this feature request in my log. If we get more request like this then i will notify to our developer team about this feature.

    Thanks.

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Order Status’ is closed to new replies.