Overview
Variable name | How to type the variable | What the variable does |
Booking resource description | {{resource_description}} | Inputs the description for the resource who has been assigned to this booking. |
What is the booking resource description and where is it set up?
When a booking is created for a service, it is assigned to a resource. The resource that the booking is assigned to will be determined by which resources are available, which resources have the ability to host the service and if you have the setting turned on, which resource the customer has selected.
The resource description is a data field which you can fill out on the resource details page:
How will this display within our communications?
Here is an example of an english email template which includes the booking resource description variable:
or
<p>Hi {{customer_firstname}},<br>
Thank you for booking the {{booking_label}} on {{booking_start_time}}.</p>
<p>{{resource_name}} will be looking after you for the duration of your visit and will be at reception to welcome you when you arrive. For your information, {{resource_description}}. <br>
The {{booking_label}} will take place at the {{booking_location}}. If you have any questions prior to your booking, please don't hesitate to get in touch by replying to this email. </p>
<p>We look forward to seeing you on soon, however if you need to cancel your booking you can do so <a href="{{booking_cancellation_url}}">here</a>.</p>
<p>Thanks,<br>
Lothian Activity Centre</p>
When a customer books, they will then automatically receive a booking confirmation email which will be constructed using the template we have saved above. This will then display as so:
FAQs
1) Why is there a random line break after the resource description?
The resource description is stored with paragraph tags wrapped around it, like this:
<p>Megan is an experienced activity leader and has worked with Lothian Activity Centre for 5 years.</p>
Those <p> tags add the extra break you're seeing. To fix it, remove the surrounding <p></p> so the text reads as plain content:
Megan is an experienced activity leader and has worked with Lothian Activity Centre for 5 years.
2) Why doesn't my resource description match the styling of the rest of the email?
The resource description is a rich text field, which means it stores hidden formatting (like font and size) alongside the text, even when it looks plain on screen. When the description gets pulled into the email, that hidden formatting can override the template's styles.
To fix it, strip out the hidden HTML by updating the field like this:
{{resource_description | strip_html}}Once saved, the description will pick up the template's font automatically and ignore any formatting the rich text field tried to apply.
We would love to hear any feedback š


