Articles on: Trouble Shooting

πŸ”§ What Are Liquid Tags (and How Can You Use Them on TicketingHub?)

Liquid tags let you personalise confirmation emails, tickets, and messages by inserting dynamic content from each order β€” like customer name, tour date, ticket type, and more.

---

🧩 Types of Liquid Tags



1. Output Tags – show information

Hello {{ customer.first_name }}!
Your tour is on {{ order.date }}.


2. Logic Tags – make decisions

{% if order.language == "fr" %}
  Bonjour ! Merci pour votre rΓ©servation.
{% else %}
  Hello! Thank you for your booking.
{% endif %}


---

✨ Examples You Can Use




🌍 Show message based on language

{% if order.language == "fr" %}
Merci pour votre commande !
{% else %}
Thank you for your booking!
{% endif %}


Liquid Tag for languages

🎟 Show message based on ticket type

{% if order.ticket_type == "VIP" %}
  πŸŽ‰ Welcome, VIP! Enjoy your complimentary welcome drink.
{% elsif order.ticket_type == "Student" %}
  πŸ§‘β€πŸŽ“ Don’t forget to bring your student ID.
{% else %}
  πŸ‘ Thanks for booking! Please arrive on time and enjoy the tour.
{% endif %}



πŸ“ Change meeting point based on day of the week

% assign weekday = booked_for_date | date: "%a" %}

{% if weekday == 'Fri' %}
 your event is on Friday
{% endif %}

{% if weekday == 'Sat' %}
 your event is on Saturday
{% endif %}



πŸ“š Full List of Supported Liquid Tags
You can use any of these variables in your emails, tickets, and messaging:


{ reference }
{ voucher }
{ notes }
{ product.name }
{ product.address.name }
{ product.address.building }
{ product.address.street }
{ product.address.city }
{ product.address.region }
{ product.address.postal_code }
{ product.address.country }
{ product.address.google_maps_url }
{ product.formatted_address }
{ season.name }
{ variant.name }
{ tier_names }
{ order.language }
{ order.reference }
{ order.referral_code }
{ order.checkout_url }
{ option.name }
{ option.time }
{ supplier.name }
{ supplier.logo }
{ supplier.logo_url }
{ supplier.website }
{ supplier.telephone }
{ supplier.email }
{ customer.first_name }
{ customer.last_name }
{ customer.full_name }
{ customer.company }
{ customer.email }
{ attendee.first_name }
{ attendee.last_name }
{ attendee.full_name }
{ attendee.company }
{ attendee.email }
{ channel.name }
{ reseller.name }
{ booked_for_date }
{ questions_with_answers }
{ group_booking }
{ extra_names }
{ pickup.location }
{ pickup.time }
{ pickup.note }
{ pickup.map }
{ smartwaiver_url }
{ guide.name }
{ guide.first_name }
{ guide.last_name }
{ guide.telephone }
{ manage_booking_url }
{ size }



🧠 Why Use Liquid?



βœ… Automatically personalize messages

βœ… Avoid manual edits or mistakes

βœ… Show accurate info for each customer

---

πŸ’‘ Pro Tip: You can combine conditions to customize even further β€” by ticket type and language and day of the week.

Need help writing your Liquid tags? Just ask β€” we’re happy to help!

Updated on: 31/03/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!