Itinerary section element
An entry in a product's itinerary section.
An entry in a product's itinerary section.
Retrieved from product.itinerary_section.elements.
Properties
body
The entry description as HTML, entered in the seller admin. Only used for
section entries.
Returns: String or nil
heading
The entry heading, entered in the seller admin.
Returns: String
id
The itinerary entry's unique identifier.
Returns: String — a UUID.
image
The entry image.
Returns: ImageDrop — blank when no image has been uploaded.
included
What's included for this itinerary entry, as a list of strings.
Returns: Array (String)
locale
A location or time label for the entry (e.g. a day or time slot). Labelled "Locale" in the seller admin.
Returns: String or nil
not_included
What's not included for this itinerary entry, as a list of strings.
Returns: Array (String)
type
The entry type. title entries only use element.heading;
section entries can use all properties.
Returns: String — section or title.
{% for day in product.itinerary_section.elements %}
{% if day.type == 'section' %}
{{ day.heading }}
{% endif %}
{% endfor %}