Matthew Harris: So if I wanted to send an email out on the last day of the booking, and I used the trigger as "booking status changed" from processing to completed (this is when an order is shipped out) what would my trigger be?
Once installed it will add a booking status option into the rules section, so you can say booking status "is not" cancelled. The rule is evaluated at creation and at trigger, so it will pass at the start, and then fail if the booking is cancelled in the interim.
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.
Matthew Harris: So if I wanted to send an email out on the last day of the booking, and I used the trigger as "booking status changed" from processing to completed (this is when an order is shipped out) what would my trigger be?
Matthew Harris: Nice!
This is already possible. You set the trigger as "booking status changed" from any to "paid".
Then for timing its ‘schedule with a variable’ and use this to trigger it:
{{ booking.start_date | format: ‘custom’, custom-format: ‘YmdHis’, modify: ‘-7 days’ }}
and then the only issue is that this will trigger even if the order is later cancelled.
You can use this plugin I wrote to solve this https://bitbucket.org/rtpdesign/runthings-aw-rule-wc-booking-status/
Once installed it will add a booking status option into the rules section, so you can say booking status "is not" cancelled. The rule is evaluated at creation and at trigger, so it will pass at the start, and then fail if the booking is cancelled in the interim.