Hello @umutesen,
Thank you for reaching out to us.
Can you please check which order status you have selected for the ‘Exclude email sending for’ option in the settings tab?
Are the cron is running successfully?
Looking forward to hearing from you.
Thank you for your response.
I can confirm that Cartflows_Ca_Cart_Abandonment->update_order_status()
job runs every 15 minutes.
Processing and completed statuses are selected for the ‘Exclude email sending for’ option.
Could I manually run the cron job to shorten the test cycle instead of waiting 15 mins each time?
Thank you
I discovered there were other cron jobs deleting carts, which were part of other cart recovery plugins. Once I deleted those cron jobs, this plugin started working fine. Thanks for your help!
Hello @umutesen,
Thank you for your confirmation!
We are happy that it is working fine for you.
If you have any questions please feel free to open a new support ticket.
Have a great day ahead.
Hi guys!
I had the same problem – order records from the table ‘wp_cartflows_ca_cart_abandonment’ has been deleted when wp_cron has started Cartflows_Ca_Cart_Abandonment->update_order_status().
I discovered it was because programm find the same product in earlier orders!
I temporary fix it in class ‘Cartflows_Ca_Cart_Abandonment’ and replace ‘-30 days’ with ‘$email_data->time’
….
$orders = wc_get_orders(
array(
'billing_email' => $email_data->email,
'status' => array( 'processing', 'completed' ),
'date_after' => gmdate(
'Y-m-d h:i:s',
strtotime($email_data->time)
//strtotime( '-30 days' )
),
)
);
….
Please, would you like to fix it?
-
This reply was modified 3 years, 1 month ago by ak2012sur.
Hello @ak2012sur,
When an order is abandoned, first it checks for the last 30 days placed orders of the same email. If the same user has purchased the same product that is abandoned again then the plugin does not send the email and delete the order.
So it is not an issue or error as sending the recovery email for the same recently purchased product may be an inconvenience to the users.
I hope it clarifies.
Let us know if you have any questions.