• Resolved wbress01

    (@wbress01)


    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

    (@wbress01)

    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 4 years, 4 months ago by wbress01.

    Hello @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

    (@wbress01)

    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

    (@wbress01)

    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.

    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.