| Name |
Description |
| location.id |
The ID of the booking location |
| location.name |
The name of the booking location |
| location.description |
The location description |
| location.email |
Email of the booking location |
| location.phone |
Telephone number of the location |
| location.website |
The location's website |
| location.coordinates |
The coordinates for the location |
| location.media_files |
#MediaFileDrop |
| location.product_from |
Products available from this location. |
| location.product_to |
Products available to this location. |
| location.categories |
A list of the categories. |
| location.current_opening_hours |
|
| location.todays_opening_hours |
|
| location.regular_opening_hours |
|
| location.upcoming_exceptional_hours |
A list of upcoming exceptional hours. Refer to the table. |
| location.rules_cancellation_time |
|
| location.rules_buffer_time |
|
| location.rules_minimum_time |
|
Opening hours
| Name |
Description |
| hours.monday.day |
|
| hours.monday.day_name |
|
| hours.monday.opens_at |
|
| hours.monday.closes_at |
|
| hours.monday.closed_for_lunch |
|
| hours.monday.lunch_starts_at |
|
| hours.monday.lunch_ends_at |
|
| hours.monday.closed |
|
| hours.monday.exception |
|
| hours.tuesday… |
|
| hours.wednesday… |
|
| hours.thursday… |
|
| hours.friday… |
|
| hours.saturday… |
|
| hours.sunday… |
|
| hours[0], hours[1], … hours[6] |
Days are also available as indices. |
| hours |
Iterate to get all days starting with monday. |
| hours.sunday_first |
Iterate to get all days starting with sunday. |
| Name |
Description |
| exception_hours.starts_at |
|
| exception_hours.ends_at |
|
| exception_hours.hours |
|
Examples
<dl>
<dt>{{ "monday" | t }}</dt>
<dd>
{% if location.current_opening_hours.monday.closed %}
{{ "closed" | t }}
{% else %}
{{ location.current_opening_hours.monday.opens_at }}-{{ location.current_opening_hours.monday.closes_at }}
{% if location.current_opening_hours.monday.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ location.current_opening_hours.monday.lunch_starts_at }}-{{ location.current_opening_hours.monday.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
<dt>{{ "tuesday" | t }}</dt>
<dd>
{% if location.current_opening_hours.tuesday.closed %}
{{ "closed" | t }}
{% else %}
{{ location.current_opening_hours.tuesday.opens_at }}-{{ location.current_opening_hours.tuesday.closes_at }}
{% if location.current_opening_hours.tuesday.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ location.current_opening_hours.tuesday.lunch_starts_at }}-{{ location.current_opening_hours.tuesday.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
<dt>{{ "wednesday" | t }}</dt>
<dd>
{% if location.current_opening_hours.wednesday.closed %}
{{ "closed" | t }}
{% else %}
{{ location.current_opening_hours.wednesday.opens_at }}-{{ location.current_opening_hours.wednesday.closes_at }}
{% if location.current_opening_hours.wednesday.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ location.current_opening_hours.wednesday.lunch_starts_at }}-{{ location.current_opening_hours.wednesday.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
<dt>{{ "thursday" | t }}</dt>
<dd>
{% if location.current_opening_hours.thursday.closed %}
{{ "closed" | t }}
{% else %}
{{ location.current_opening_hours.thursday.opens_at }}-{{ location.current_opening_hours.thursday.closes_at }}
{% if location.current_opening_hours.thursday.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ location.current_opening_hours.thursday.lunch_starts_at }}-{{ location.current_opening_hours.thursday.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
<dt>{{ "friday" | t }}</dt>
<dd>
{% if location.current_opening_hours.friday.closed %}
{{ "closed" | t }}
{% else %}
{{ location.current_opening_hours.friday.opens_at }}-{{ location.current_opening_hours.friday.closes_at }}
{% if location.current_opening_hours.friday.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ location.current_opening_hours.friday.lunch_starts_at }}-{{ location.current_opening_hours.friday.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
<dt>{{ "saturday" | t }}</dt>
<dd>
{% if location.current_opening_hours.saturday.closed %}
{{ "closed" | t }}
{% else %}
{{ location.current_opening_hours.saturday.opens_at }}-{{ location.current_opening_hours.saturday.closes_at }}
{% if location.current_opening_hours.saturday.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ location.current_opening_hours.saturday.lunch_starts_at }}-{{ location.current_opening_hours.saturday.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
<dt>{{ "sunday" | t }}</dt>
<dd>
{% if location.current_opening_hours.sunday.closed %}
{{ "closed" | t }}
{% else %}
{{ location.current_opening_hours.sunday.opens_at }}-{{ location.current_opening_hours.sunday.closes_at }}
{% if location.current_opening_hours.sunday.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ location.current_opening_hours.sunday.lunch_starts_at }}-{{ location.current_opening_hours.sunday.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
</dl>
<dl>
{% for opening_hours in location.current_opening_hours %}
<dt>{{ opening_hours.day_name | t }}</dt>
<dd>
{% if opening_hours.closed %}
{{ "closed" | t }}
{% else %}
{{ opening_hours.opens_at }}-{{ opening_hours.closes_at }}
{% if opening_hours.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ opening_hours.lunch_starts_at }}-{{ opening_hours.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
{% endfor %}
</dl>
<dl>
{% for opening_hours in location.current_opening_hours.sunday_first %}
<dt>{{ opening_hours.day_name | t }}</dt>
<dd>
{% if opening_hours.closed %}
{{ "closed" | t }}
{% else %}
{{ opening_hours.opens_at }}-{{ opening_hours.closes_at }}
{% if opening_hours.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ opening_hours.lunch_starts_at }}-{{ opening_hours.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
{% endfor %}
</dl>
{% for exception_hours in location.upcoming_exceptional_hours %}
<section>
<h1>Ändrade tider {{ exception_hours.starts_at | l }} till {{ exception_hours.ends_at | l }}</h1>
<div class="col-sm-4">
<dl>
{% for opening_hours in exception_hours.hours %}
<dt>{{ opening_hours.day_name | t }}</dt>
<dd>
{% if opening_hours.closed %}
{{ "closed" | t }}
{% else %}
{{ opening_hours.opens_at }}-{{ opening_hours.closes_at }}
{% if opening_hours.closed_for_lunch %}
{{ "closed_for_lunch" | t }}: {{ opening_hours.lunch_starts_at }}-{{ opening_hours.lunch_ends_at }}
{% endif %}
{% endif %}
</dd>
{% endfor %}
</dl>
</div>
</section>
{% endfor %}