,

WooCommerce Bookings – Abandoned Cart Items not Auto Deleting [SOLVED]

5 Comments

  1. Hi, thanks for the infos and the solution for the cron jobs not running :)

    Is there any way to increase the time the products will remain in the cart by adressing the cronjob?

    1. Hi Hagen,
      No, you wouldn’t adjust that using a cron job. They are only for running specific scripts at specific times. I would check with WooCommerce Bookings for how to adjust the default 60 minutes. I’m guessing you’d use an action filter for that.

  2. Claudio

    Thanks so much for this post! Was worked for me to stop some Bookings Reminders.

    I didn’t know about this plugin: WP Crontrol
    Thank you for mentioning it.

  3. Moly

    add_filter(‘woocommerce_bookings_remove_inactive_cart_time’, changeDeleteTime());

    function changeDeleteTime(){
    return time() + ( 30 * 24 * 60 * 60 );
    }

  4. Bill

    can you update this for 2023

Leave a Reply to Claudio Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.