Email Subject / Show Booking ID
-
Hi,
I’m using WC Bookings and I’d like to show the Bookings ID in the subject of the ‘Admin New Booking’ email, which is sent by the WC Bookings plugin when a booking is ‘paid’.
Variables:
If you go to WC -> Settings -> Emails -> Admin New Booking, the description to the subject lines show that there are variables like{order_number}
or{product_title}
that can be used. However, whilst these relate to the free core version, there don’t seem to be any for the (expensive) Bookings plugin. I have tried using{booking_number}
which unfortunately doesn’t output the booking number/id.Function
For the free WC core plugin there is this helpful developer page: https://docs.woocommerce.com/document/change-email-subject-lines/
This shows how subject lines can be amended with some code via the functions.php, which I have done for the order complete email:woocommerce_email_subject_customer_completed_order
Could anyone please help me how to show the bookings ID/number in emails sent by the Bookings plugin?
I would truly appreciate any help!
Ps. I contacted Support, but they said this would be outside of their support, even though this is provided for the free WC plugin…
- The topic ‘Email Subject / Show Booking ID’ is closed to new replies.