Title: Block draft orders
Last modified: June 14, 2024

---

# Block draft orders

 *  Resolved [thecreator01](https://wordpress.org/support/users/thecreator01/)
 * (@thecreator01)
 * [2 years ago](https://wordpress.org/support/topic/block-draft-orders/)
 * Hello, even if a user does not complete the order, this order appears as a draft
   on the orders page. Considering that there will be hundreds of thousands of visitors,
   deleting these draft orders will be quite time-consuming. It will also create
   a huge load on the database. (Screenshot attached.)
 * [https://ibb.co/JssMJtK](https://ibb.co/JssMJtK)
 * How can I prevent this? I don’t want to create any records in the database until
   an order is completed.
 * It might be useful to see abandoned cart amounts, but I don’t see it as necessary.
    -  This topic was modified 2 years ago by [thecreator01](https://wordpress.org/support/users/thecreator01/).

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

 *  Plugin Support [omarfpg a11n](https://wordpress.org/support/users/omarfpg/)
 * (@omarfpg)
 * [2 years ago](https://wordpress.org/support/topic/block-draft-orders/#post-17826359)
 * Hi [@thecreator01](https://wordpress.org/support/users/thecreator01/),
 * In WooCommerce, the default status for newly created orders is `Pending Payment`.
   The pending payment status is applied to orders that have been submitted, but
   are awaiting payment.
 * However, when using WooCommerce Blocks for the checkout process, orders are created
   when the shopper arrives to the checkout page. The pending payment status does
   not accurately reflect the state of these orders, which may be incomplete or 
   unsubmitted. To accommodate for this, the `checkout-draft` status is used until
   the order is submitted.
 * **Draft Order Cleanup**
 * A scheduled daily cron job (`woocommerce_cleanup_draft_orders`) deletes all draft
   orders that are no longer active.
 * Switching your checkout page to using the [checkout shortcode instead of the checkout block](https://woocommerce.com/document/cart-checkout-blocks-status/#reverting-to-the-cart-and-checkout-shortcodes)
   can stop this altogether, too.
 * I hope this helps!
   -OP
 *  Thread Starter [thecreator01](https://wordpress.org/support/users/thecreator01/)
 * (@thecreator01)
 * [2 years ago](https://wordpress.org/support/topic/block-draft-orders/#post-17826506)
 * Hello, thank you for your reply. [@omarfpg](https://wordpress.org/support/users/omarfpg/)
 * How often does the “woocommerce_cleanup_draft_orders” cron clean draft orders?
 * It would also be great if there was an option to block draft orders without having
   to use the old woocommerce cart code.
 * I don’t really see this as necessary from my perspective, and on a very high 
   visitor woocommerce site adding/deleting records to the database (even through
   cron) really means additional load to the database.
 *  [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * (@carolm29)
 * [2 years ago](https://wordpress.org/support/topic/block-draft-orders/#post-17826605)
 * Hey, [@thecreator01](https://wordpress.org/support/users/thecreator01/)!
 * > How often does the “woocommerce_cleanup_draft_orders” cron clean draft orders?
 * It does it once a day.
 * > It would also be great if there was an option to block draft orders without
   > having to use the old woocommerce cart code.
 * Currently it is not possible to do this.
 * We appreciate your suggestions and are always looking for ways to improve our
   products and services, and input from users like you is invaluable.
 * We have a website where you can submit feature requests and upvote the ones other
   people submitted and you like. And there’s actually already a request for this**
   [here](https://woocommerce.com/feature-request/disable-draft-orders/)**. You 
   can upvote and comment on it so our team can see there are users interested in
   this feature.
 * Please let us know if there’s anything else we can do to help or if you have 
   further questions.
 * Have a wonderful day!

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

The topic ‘Block draft orders’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/block-draft-orders/#post-17826605)
 * Status: resolved