Title: Completed Trigger
Last modified: July 16, 2020

---

# Completed Trigger

 *  Resolved [wbress01](https://wordpress.org/support/users/wbress01/)
 * (@wbress01)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/completed-trigger/)
 * What triggers the plugin to switch a Preorder to completed? I am using the free
   version to see if I want to purchase premium, and my preorders are automatically
   changing status from Preorder to Completed.
 * Here is the Woocommerce note: [WooCommerce Pre Orders] Order status changed from
   Pre Ordered to Completed.
 * Two orders have been affected so far. Both changed from Preorder to Completed
   without any input from a human.
 * Any help is appreciated. Thank you.

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

 *  Thread Starter [wbress01](https://wordpress.org/support/users/wbress01/)
 * (@wbress01)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/completed-trigger/#post-13131990)
 * I manually switched the orders back to Pre Ordered, and they both switched back
   to Completed. The first switch was at 0950am, the second switch was at 1049am.
   Some sort of process is happening that is causing the order to switch from Pre
   Ordered to Completed.
    -  This reply was modified 5 years, 11 months ago by [wbress01](https://wordpress.org/support/users/wbress01/).
 *  [Sergio Milardovich](https://wordpress.org/support/users/milardovich/)
 * (@milardovich)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/completed-trigger/#post-13136372)
 * Hello [@wbress01](https://wordpress.org/support/users/wbress01/) ,
 * The conditions for switching the status automatically are in the file Sync.php.
 * If the preorder date is past the actual time, then the status is changed as completed.
   Could you maybe check that value? or send more info about the orders being changed?.
 * Also, you are welcome to use our support form in case you want us to take a further
   look. If this is a bug we will be more than glad to fix it.
 * Thanks
 *  Thread Starter [wbress01](https://wordpress.org/support/users/wbress01/)
 * (@wbress01)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/completed-trigger/#post-13137259)
 * Sergio, I have created an inquiry on your support forum. Just to follow up here,
   the Pre Order Date for the products is 2020-08-05 00:00:00. They were automatically
   switched from Pre Ordered to Completed on 2020-07-16.
 * I will take a look at the Sync.php file to see what I can figure out.
 * Thank you,
 * -Wayne
 *  Thread Starter [wbress01](https://wordpress.org/support/users/wbress01/)
 * (@wbress01)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/completed-trigger/#post-13139345)
 * Sergio, is there a way to turn off the automatic syncing functionality of the
   plugin? I do not want the Pre Order date to determine when the order changed 
   from Pre Ordered to Completed. I want the shipping process in Woocommerce to 
   make the change to completed.
 *  [Sergio Milardovich](https://wordpress.org/support/users/milardovich/)
 * (@milardovich)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/completed-trigger/#post-13165490)
 * Hello guys,
 * Sorry for the late reply, I can add a checkbox in a new version of the plugin.
   For now, please comment the line 13 on the file src/Sync.php :
 *     ```
       add_action('check_for_released_preorders', [$this,'checkForPreorders']);
       ```
   
 * Once you comment it, all automatic changes will be disabled.
 * Thanks

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

The topic ‘Completed Trigger’ is closed to new replies.

 * ![](https://ps.w.org/pre-orders-for-woocommerce/assets/icon-256x256.gif?rev=2944662)
 * [Pre-Orders for WooCommerce](https://wordpress.org/plugins/pre-orders-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pre-orders-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pre-orders-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pre-orders-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pre-orders-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pre-orders-for-woocommerce/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Sergio Milardovich](https://wordpress.org/support/users/milardovich/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/completed-trigger/#post-13165490)
 * Status: resolved