{{product.title}}
{% if product.primary_media.type == 'photo' %}
{% elsif product.primary_media.type == 'video' %}
{% endif %}
{% if product.summary.size > 0 %}
{% endif %}
{% endfor %}
{% endif %}
{% if product.src.size > 0 %}
{{product.summary | strip_html}}
{% endif %} {{product.content}} {% if itinerary.size > 0 %}
{% for i in itinerary %}
{% endif %}
{% if product.attachments.size > 1 %}
{% for a in product.attachments %}
{% if a.type == 'video' %}
{% elsif a.type == 'photo' %}
Day {{forloop.index}}: {{i.title}}
{{i.content}}
{% if i.primary_media.size > 0 %}
{% endif %}
{% endfor %}
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 %}
{% endif %}
{% if r.primary_media.size > 0 %}
{% endif %}
{% endfor %}