• Resolved umutesen

    (@umutesen)


    Hi,

    I am trying to get started with the plugin. The carts are captured in the database correctly – I can see new records created in wp_cartflows_ca_cart_abandonment when an email address is entered in checkout. However, when the CRON job runs every 15 mins, the carts are getting deleted from the database.

    No emails have been sent and the report tab always shows 0. What could be wrong?

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support CartFlows Team

    (@cartflows)

    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.

    Thread Starter umutesen

    (@umutesen)

    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

    Thread Starter umutesen

    (@umutesen)

    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!

    Plugin Support CartFlows Team

    (@cartflows)

    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.
    Plugin Support CartFlows Team

    (@cartflows)

    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.

    Thank you! i got it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Captured carts deleted automatically’ is closed to new replies.