UPS Promotional Credit Campaign Aug ’25 – Banner

Banner promoting UPS Promotional Credit Campaign on UPS x Woo Landing page

Afterpay | Site Banner Q3 2025

added Latoya

Product Icon

Back In Stock Notifications for WooCommerce

Notify customers when your products are restocked.

Set time to send notifications

I have several product imports that run at a set time. Right now notifications get sent as soon as the product is marked available. My problem is that one product update sets the stock back in stock and it send a notification of it being in stock. Before my other product import updates can subtract the orders that are waiting to be filled. So the customer gets the notification only to find out they are sold out again. I would like to be able to have a set time that your plug in runs so I can schedule my updates to be completed before it sent out the emails. Thank you.

Author

mreidiv

Current Status

Open

Last updated: July 8, 2025

5 comments

Log in to comment on this feature request.

  1. mreidiv says:

    Downloaded plug in copied code got a “Could not create snippet. Request failed with status code 500.” error

  2. mreidiv says:

    Thank you I’ll try that later today. But it would be nice to be able to set a scheduled time.

  3. chli says:

    Thanks for following up! Happy to clarify further!

    When the background process for sending notifications runs, it always checks if the product is still eligible (in-stock or on backorder) before actually sending the notifications. That said, it’s ultimately best to experiment with a delay that ensures the updates/imports will be finished by the time this runs.

  4. mreidiv says:

    Thank you but wouldn’t that just delay the notifications being sent. I need it to run after all my updates have been done then send notifications. With the options you suggested would it go back and check stock again or just delay the notification?

  5. chli says:

    Thanks for the report! If you want more time for internal updates before notifications, you can add a delay with a PHP hook. By default, notifications are sent one minute after restocking. Increasing the delay gives more time for updates. Here’s an example for a one-hour delay:

    add_filter( ‘woocommerce_bis_first_batch_delay’, function( $delay ) {
    return HOUR_IN_SECONDS;
    } );

    Hope this helps! If you are not sure how to install snippets like this, you may use a free plugin like Code Snippets: https://wordpress.org/plugins/code-snippets/