• Resolved alijens

    (@alijens)


    Since update 1.1.3 the plugin is broken an now useless since the setting for Default Order Status does not contain all order statuses in the dropdown. This needs to be fixed ASAP. The plugin now sets wrong order status as the default status and there is no way to fix it. All possible orderstatuses must be in the list of possible default order statuses.

    • This topic was modified 11 months, 3 weeks ago by alijens.
    • This topic was modified 11 months, 3 weeks ago by alijens.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Fauzan Azizie

    (@fauzanade)

    Hi @alijens,

    May I know which order statuses are available on your end?

    On our side, the available statuses are On Hold, Pending Payment, Processing, and Completed. https://snipboard.io/xGlhVI.jpg

    We intentionally exclude Failed, Cancelled, and Refunded statuses since they’re not typically relevant for new incoming orders.

    Thread Starter alijens

    (@alijens)

    Hi,

    I have https://wordpress.org/support/plugin/custom-order-statuses-for-woocommerce/ installed and have created several custom order statuses with that. None of those are listed in your plugin. Hence all my orders get a status of onHold which is not the status that I want. I have several other custom statuses that I want to use before that status. But there is no way to select them in your plugin and hence the status I get is onHold, since that is the first in the dropdown. I see On HoldPending PaymentProcessing, and Completed in the dropdown but none of those are useful to me. I have reverted to 1.1.2 and then everything works fine. With 1.1.2 my orders get the correct status when they are created in woocommerce. A sollution could be to make it possible to not set the default order status in your plugin. Maybe a checkbox that enables setting or not setting the default order status. Default should be not setting it.

    Statuses should be stored like below

    Main Table: wp_posts

    Each WooCommerce order is a row in this table, with:

    • post_type = 'shop_order'
    • post_status = 'wc-pending', 'wc-processing', 'wc-completed', etc.

    You can use SELECT DISTINCT post_status FROM wp_posts WHERE post_type = ‘shop_order’ AND post_status LIKE ‘wc-%’;
    to get all statuses to list them in the dropdown. This would include my custom statuses also.
    In php

    $order_statuses = wc_get_order_statuses();

    should also fetch all statuses. Including my custom ones.

    Do you select to display only specific order statuses and perhaps that is why my custom ones are not displayed?

    Plugin Support Fauzan Azizie

    (@fauzanade)

    Hi @alijens,

    I apologize for the inconvenience—currently, the Default Order Status setting only supports the default WooCommerce order statuses, and doesn’t account for custom statuses. I’ve submitted an improvement request to our dev team to add support for custom order statuses in a future update.

    While I can’t provide an exact timeline for its release, we truly appreciate your patience and will be sure to keep you in the loop once the update is available.

    Thread Starter alijens

    (@alijens)

    Ok, I’ll keep using the 1.1.2 version since that works with custom statuses.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Default Order Status does not contain all statuses’ is closed to new replies.