{% if product.src.size > 0 %}
{% assign src = product.src | downcase %}
{% collection offers, limit:1, source:src, name:brand %}
{% for b in brand %}
{% capture brand_title %}{{b.title}}{% endcapture %}
{% capture brand_link %}{{b.permalink}}{% endcapture %}
{% capture brand_logo %}{{b.attachments.first.original}}{% endcapture %}
{% capture brand_image_thumb %}{{b.primary_media.original}}{% endcapture %}
{% endfor %}
{% endif %}
{% assign post_title = product.title | append:' Offer' %}
{% assign post_id = product.id %}
{% if product.place.size > 0 and product.place.title != 'Anywhere' %}
{% assign post_place = product.place.title %}
{% endif %}
{% assign offer_tag = product.tags.first | remove:'#' %}
{% if itinerary.size > 0 %}
{% endif %}
{% if product.attachments.size > 1 %}
{% endif %}
{% collection products, limit:4, source:src, exclude:post_id, order:random, name:related_offers %}
{% if related_offers.size > 0 %}
{% endif %}
{% collection blogs, limit:4, tag:offer_tag, order:created_at desc, name:recent %}
{% if recent.size > 0 %}
{% endif %}
{% partial cta %}
{% partial addthis %}
{{product.title}}
Travel Offer {% if product.place.size > 0 and product.place.title != 'Anywhere' %} · Main destination {{product.place.short_title}} {% endif %} {% if product.price %} · from {{product.price | money}} {{agency.currency}} {% if product.unit_name.size > 0 %}per {{product.unit_name}}{% endif %} {% endif %}
{% if product.primary_media.type == 'photo' %}
{% endif %}
{% if product.primary_media.type == 'video' %}
{{product.primary_media.html}}
{% endif %}
{% if product.price_info.size > 0 %}
{{product.price_info}}
{% endif %}
{% partial disclaimer %}
Itinerary
{% for i in itinerary %}
{% assign day_number = forloop.index %}
{% endif %}
{{i.content}}
{% endfor %}
Day
{{day_number}}
{{i.title | remove_first:day_number }}
{% if i.primary_media.size > 0 %}Featured Experiences
{% for p in related_offers %}
{% endfor %}
{% if related_offers.size > 3 %}
{% endif %}