Description : Designed for hassle-free family holidays, this package includes fun, relaxation, and sightseeing that both kids and adults will enjoy.
Suitable For : Families with children, School holiday break
<# } /* endiftil */ #>
<# } /* endifapl */#>
{{{selectedPackage && selectedPackage.content.rendered}}}
Travellers
Quantity
<#
var _pcids = []
if(Object.keys(packageCategories).length > 0 && primaryCategory && primaryCategory.id) {
_pcids = Object.keys(packageCategories).filter(function(_id) {return _id != primaryCategory.id})
_pcids.unshift(primaryCategory.id)
}
for( var pcid of _pcids ) { /* forpcidipc */
var pc = packageCategories[pcid]
if( pc.price.length < 1 ) {
continue;
}
var minPax = pc.minPax
var maxPax = pc.maxPax
var infoData = JSON.stringify({
packageID: selectedPackageID,
catID: pcid,
})
var travelerCount = travelerRecord[pcid] || 0
var categoryPrice = pc.enabledSale ? +(pc.salePrice) : +(pc.price);
if ( pc.enabledGroupDiscount && Object.keys(groupPricings).length > 0 && groupPricings[pcid] ) {
var gp = groupPricings[pcid]
for( let r of gp ) {
if(r.to.length < 1 && +travelerCount >= +r.from) {
categoryPrice = r.price || categoryPrice
break;
}
if(+travelerCount >= +r.from && +travelerCount <= +r.to ) {
categoryPrice = r.price
break;
}
}
}
var ageGroup = pricingCategories && pricingCategories[pcid] && pricingCategories[pcid]['meta']['age_group'] || ''
#>
{{{pc.label}}}{{{ageGroup && ' ('+ageGroup+')' || ''}}}
<#
if ( pc.enabledGroupDiscount && Object.keys(groupPricings).length > 0 && groupPricings[pcid] ) {
var gp = groupPricings[pcid]
#>
Group Discounts
Number Of Travellers
<# if ( pc.pricingType === 'per-person' ) { #>
Price/Person
<# } #>
<# if ( pc.pricingType === 'per-group' ) { #>
Price/Group
<# } #>
<#
for( let r of gp ) {
var travelersCount = ''
travelersCount += r.from
if(r.to) {
travelersCount += ' - ' + r.to
}else{
travelersCount += '+'
}
#>
{{travelersCount}}
{{{formatPrice(r.price)}}}
<# } #>
<#
}
#>
<# if(pc.enabledSale) { /* ifpcespcid */#>
{{{formatPrice(pc.price)}}}
{{{formatPrice(categoryPrice)}}}
<# } else { #>
{{{formatPrice(categoryPrice)}}}
<# } /* endifpcespcid */#>
<# if ( pc.pricingType === 'per-person' ) { #>
/ person
<# } #>
<# if ( pc.pricingType === 'per-group' ) { #>
/ group
<# } #>
<#
} /* endforpcidipc */
#>