{% if product.travel_date_end.size > 0 %}
{% assign dateStart = product.travel_date | date: '%s' %}
{% assign dateEnd = product.travel_date_end | date: '%s' %}
{% assign diffSeconds = dateEnd | minus: dateStart %}
{% assign nights = diffSeconds | divided_by: 86400 %}
{% if nights > 0 %}
{% endif %}
{% elsif itinerary.size > 0 %}
{% endif %}
{{nights | round}}
Nights
{% for i in itinerary %}
{% if forloop.length == forloop.index %}
{{forloop.length}}
{% endif %}
{% endfor %}
Days
{{product.title}}
{% if product.category.size > 0 %} {{product.category.title}} {% endif %} {% if product.place.size > 0 and product.place.title != 'Anywhere' %} {{place_title}} {% endif %}
{% if product.primary_media.type == 'video' %}
{% endif %}
{{product.primary_media.html}}
{% elsif product.primary_media.type == 'photo' %}
Contact Your Travel Expert
{% if product.attachments.size > 1 %}
{% endif %}
{% if itinerary.size > 0 %}
{% endif %}
{% assign exclude_id = product.id %}
{% collection products, limit:4, source:product.src, exclude:exclude_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 cta1 %}
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 %}
{% if product.price_info.size > 0 %}
{{product.price_info}}
{% endif %}
{% partial disclaimer %}
Featured Experiences
{% if related_offers.size > 3 %} {% endif %}
{% for p in related_offers %}
{% endfor %}
{% if p.primary_media.size > 0 %}
{% endif %}
{{p.title}}
{% if p.place.size > 0 and p.place.title != 'Anywhere' %}
{{p.place.title}}
{% else %}
Multiple Destinations
{% endif %}