Product Single Post

Product Single Post

{% 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 offer_tag = product.tags.first | remove:'#' %} {% assign post_title = product.title %} {% assign post_id = product.zid %} {% if product.place.size > 0 and product.place.title != 'Anywhere' %} {% assign place_title = product.place.title %} {% endif %}

{% 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 %} {{nights | round }} Nights | {% endif %} {% elsif itinerary.size > 0 %} {% for i in itinerary %} {% if forloop.length == forloop.index %} {{forloop.length}} Days | {% endif %} {% endfor %} {% endif %} {{product.title}} {% if product.price %} | from {{product.price | money}} {{agency.currency}} {% if product.unit_name.size > 0 %}per {{product.unit_name}}{% endif %} {% endif %}

{% if product.place.size > 0 and product.place.title != 'Anywhere' %} Main destination {{product.place.short_title}} {% if product.category_id > 0 %} · {% endif %} {% endif %} {% if product.category_id > 0 %} About {{product.category.title}} {% endif %}

{% 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 %} {{nights | round }} Nights | {% endif %} {% elsif itinerary.size > 0 %} {% for i in itinerary %} {% if forloop.length == forloop.index %} {{forloop.length}} Days | {% endif %} {% endfor %} {% endif %} {{product.title}} {% if product.price.size > 0 %} | from {{product.price | money}} {{agency.currency}} {% if product.unit_name.size > 0 %}per {{product.unit_name}}{% endif %} {% endif %}

{% if product.place.size > 0 and product.place.title != 'Anywhere' %} Main destination {{product.place.short_title}} {% if product.category_id > 0 %} · {% endif %} {% endif %} {% if product.category_id > 0 %} About {{product.category.title}} {% endif %}
{% if variants.size > 0 %}
{% else %} {% if product.travel_date.size > 0 %} {% endif %} {% if product.travel_date_end.size > 0 %} {% endif %} {% endif %}
{% if product.primary_media.type == 'video' %}
{{product.primary_media.html}}
{% elsif product.primary_media.type == 'photo' %} {% endif %} {{product.content}} {% if itinerary.size > 0 %}

Itinerary

{% for i in itinerary %}
{% assign day_number = forloop.index | prepend:'Day ' %}

{{day_number}}: {{i.title | remove_first:day_number }}

{% if i.primary_media.size > 0 %} {{i.title}} {% endif %} {{i.content}}
{% endfor %} {% endif %} {% if product.attachments.size > 1 %} {% for a in product.attachments offset:1 %} {% if a.type == 'video' %}
{{a.html | escape}}
{% elsif a.type == 'photo' %} {% endif %} {% endfor %} {% endif %} {% if product.places.size > 1 %}
You will visit the following places:
{% for p in product.places %}
{{p.title}}

{{p.title}}

{% if p.content.size > 0 %}

{{p.content | strip_html}}

{% endif %}
{% endfor %}
{% endif %} {% if product.price_info.size > 0 %} {% endif %} {% partial disclaimer %}
{% if brand_title.size > 0 %} {% endif %} {% if product.tags.size > 0 %} {% collection offers, tag:product.tags.last, order:'created_at asc', limit:1 %} {% if offers.size > 0 %} {% for offer in offers %} {% if offer.tags.first == 'Specialty' or offer.tags.first == 'specialty' %}

Interested in {{offer.title}}?

Click Here
{% endif %} {% endfor %} {% endif %} {% endif %}
{% partial addthis %} {% collection products&blogs, tag:offer_tag, order:random, limit:3, exclude:post_id, name:related_posts %} {% if related_posts.size > 0 %}

Featured


{% for p in related_posts %} {% partial related_thumb %} {% endfor %}
{% endif %}
{% if product.place.size > 0 and product.place.title != 'Anywhere' %}

I want to go to:

{% endif %} {% partial wdywtg_form %}
Terms, conditions and restrictions apply; pricing, availability, and other details subject to change and/ or apply to US or Canadian residents. Please confirm details and booking information with your travel advisor.
Liquid error: internal