{% if product.primary_media.type == 'photo' %}
{% elsif product.primary_media.type == 'video' %}
{{product.primary_media.html}}
{% endif %} {% if product.summary.size > 0 %}

{{product.summary | strip_html}}

{% endif %} {{product.content}} {% if itinerary.size > 0 %}
{% for i in itinerary %}
Day {{forloop.index}}: {{i.title}}
{{i.content}} {% if i.primary_media.size > 0 %} {{i.title}} {% endif %}
{% endfor %}
{% endif %} {% if product.attachments.size > 1 %} {% for a in product.attachments %} {% if a.type == 'video' %}
{{a.html | escape}}
{% elsif a.type == 'photo' %} {% endif %} {% endfor %} {% endif %} {% if product.src.size > 0 %}

Offer by {{product.src}}

{% endif %}
{% if product.tags.size > 0 %} {% assign category_tag = product.tags.first %} {% collection offers, tag:category_tag, limit:1 %} {% for offer in offers %} {% assign category = offer.title %} {% endfor %} {% endif %} {% assign exclude_id = product.id %} {% collection products&videos, tag:category_tag, exclude:exclude_id, limit:6, order:'hits_all desc', name:related %} {% if related.size > 0 %}

Also on {{category}}

{% for r in related %}
{% if r.primary_media.size > 0 %} {% endif %}

{{r.title}}

{% if r.place.size > 0 and r.place.title != 'Anywhere' %} About {{r.place.title}} {% endif %}
{% endfor %}
{% endif %}