Single Product
{% 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.last.original}}{% endcapture %}
{% capture brand_image %}{{b.primary_media.original}}{% endcapture %}
{% capture brand_image_thumb %}{{b.primary_media.100x100}}{% endcapture %}
{% endfor %}
{% if src.size > 0 %}
{% assign exclude_id = product.id %}
{% collection products, limit:8, source:src, exclude:exclude_id, order:random, name:similar_products %}
{% if similar_products.size > 0 %}
{% if product.category.permalink == 'river-or-ocean-cruises' %}
{% else %}
{% endif %}
{% endif %}
{% endif %}
{% if src.size > 0 and brand.size > 0 %}
{% elsif product.tags.size > 0 %}
{% assign product_tag = product.tags.first %}
{% collection offers, limit:1, tag:product_tag, name:specialty %}
{% if specialty.size > 0 %}
{% for s in specialty %}
{% if s.tags.first == 'Specialty' %}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
{% capture cta_button %}{% snippet cta_button_product %}{% endcapture %}
{% capture date %}{{product.travel_date | date: "%m/%d/%Y"}}{% endcapture %}
{% if product.tags.last == 'custom' %}
Contact Us For A Customized Trip
{% else %}
{% if cta_button.size > 0 %}
{{cta_button}}
{% else %}
Get Prices & Dates
{% endif %}
{% endif %}
{% if product.tags.first == 'cruise' %}
{% 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 | {{product.title}}
{% else %}{{product.title}}
{% endif %} {% else %}{{product.title}}
{% if product.place.size > 0 and product.place.title != 'Anywhere' %} About {{product.place.title}} {% endif %} {% if product.price > 0.0 %} - From {{product.price | money}} {{product.currency}} {% if product.unit_name.size > 0 %}per {{product.unit_name}}{% endif %} {% endif %}
{% endif %} {% if itinerary.size > 0 %} {% endif %}
{% if product.summary.size > 0 %}
{% endif %}
{% if product.primary_media.type == 'video' %}
{% endif %}
{{product.content}}
{% unless product.tags.last == 'event' %}
{% partial disclaimer %}
{% endunless %}
{% if itinerary.size > 0 %}
{% endif %}
{% if product.places.size > 1 %}
{% for p in product.places %}
{% assign ports = forloop.length %}
{% endfor %}
{% endfor %}
{% endif %}
{% unless product.tags.first == 'cruise' %}
{% if product.attachments.size > 1 %}
{% unless product.tags.last == 'custom' %}
{% endunless %}
{{product.summary}}
Itinerary
-
{% for i in itinerary %}
-
{{i.title}}
{{i.content}}
{% if i.primary_media.size > 0 %}{% endif %}
{% endfor %}
You will visit the following {{ports}} places:
{% for p in product.places %}{{p.title}}
{% if p.content.size > 0 %}{{p.content | strip_html}}
{% endif %}
{% for a in product.attachments offset:1 %}
{% endfor %}
{% endif %}
{% endunless %}
{% if product.price_info.size > 0 %}
{{product.price_info}}
{% endif %}
{% for a in product.attachments %}
{% if a.author_name.size > 0 %}
Photo By {{a.author_name}}
{% endif %} {% endfor %}More Cruise Options
{% for product in similar_products, limit:8 %}
{% if product.tags.last != 'deals' %}
{% endif %}
{% endfor %}
{% 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 %}
{% for p in product.places %}
{% assign ports = forloop.length %}
{% endfor %}
{% if ports > 0 %}
{% endif %}
{{nights | round }}
Nights
{{ports}}
Ports
{{product.title}}
{% if product.places.size > 0 %}From {{product.places.first.title}}
{% endif %}
{% if product.places.size > 0 %}
Ports:
{% for p in product.places %}
{% if forloop.last %}
{{p.title}}
{% else %}
{{p.title}},
{% endif %}
{% endfor %}
{{product.content | strip_html | truncatewords:20}}
{% endif %}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.