WooCommerce Bookings is a premium plugin by WooThemes that allow you to sell time. As you could imagine, people sometimes book for your services, but forgot about it. WooCommerce Bookings includes a reminder email notification though that is sent out one day before the booking date.
If you want to change the due date, to three days before the booking date in example, you can do it with a filter.
Open the file functions.php located in wp-content/themes/your-child-theme-name/ and add this code at the end of the file:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'woocommerce_bookings_remind_before_days', create_function( '', 'return 3;' ) ); |
From now on, the booking reminder will be sent to your customers three days before the booking date. You can change that to something else if you want, or set up some more complex scenarios.
Leave a Reply