- How to Buy
- About
{{ } }}
{{- contentTitle}}
{{- raw.itemdescription }}
{{ function GetTrunctedText(originalText, maxCharLength) { }}{{ if(originalText == null ) { }}{{ return "" }}{{ } }}{{ if(originalText.length > maxCharLength) { }}{{ return originalText.substring(0,maxCharLength) + "..." }}{{ } }}{{ return originalText }}{{ } }}
{{ if(raw.imagelabels != null) { }}
{{ _.each(raw.imagelabels, function(imageLabel) { }} {{ if(imageLabel.indexOf('/-/media/') > -1 ) { }} {{ } else { }} {{- imageLabel}} {{ } }} {{ }) }}
{{ } }} {{ if(raw.bannerlabels != null) { }}
{{ _.each(raw.bannerlabels, function(bannerlabel) { }} {{ if(bannerlabel.indexOf('/-/media/') > -1 ) { }} {{ } else { }} {{- bannerlabel}} {{ } }} {{ }) }}
{{ } }}
{{- raw.productbrandname}}
{{ if(raw.stockedlabels != null) { }}
{{ if(raw.stockedlabels.indexOf('/-/media/') > -1 ) { }} {{ } else { }} {{- raw.stockedlabels}} {{ } }}
{{ } }}
{{ var nameTruncated = (raw.name != null ? raw.name : "") }} {{ var productNameCharLimit = 42 }} {{ if(nameTruncated.length > productNameCharLimit) { }} {{ nameTruncated = nameTruncated.substring(0,productNameCharLimit).trim() + "..." }} {{ } }}
{{- nameTruncated}}
{{ var shortDescTruncated = (raw.productshortdescription != null ? raw.productshortdescription : "") }} {{ var shortDescCharLimit = 57 }} {{ if(shortDescTruncated.length > shortDescCharLimit) { }} {{ shortDescTruncated = shortDescTruncated.substring(0,shortDescCharLimit).trim() + "..." }} {{ } }}
{{- shortDescTruncated}}
{{ if(raw.tez120xtlabels != null && (raw.productstatus == null || (raw.productstatus != statusDiscontinue && raw.productstatus != statusBrandChange)) ) { }}
- {{ _.each(raw.tez120xtlabels, function(textLabel, index) { }} {{ if(index < 6) { }} {{ if(textLabel.indexOf('/-/media/') > -1 ) { }} {{ } else { }}
- {{- textLabel}} {{ } }} {{ } }} {{ }) }}
{{ } }}
{{ if(raw.productstatus != null && (raw.productstatus != null && ( raw.productstatus == statusLimitedInv || raw.productstatus == statusDiscontinue || raw.productstatus == statusBrandChange)) ) { }} {{ var linkText = 'View' }} {{ var linkUrl = geoClickUri }} {{ var altItemClassName = "search-results-grid__cta__item__alternate"}} {{ if(raw.hasreplacementproducts != null && raw.hasreplacementproducts == "1" && raw.productstatus != statusLimitedInv) { }} {{ linkUrl = geoClickUri + "#replacedby" }} {{ linkText = "Suggested Replacement" }} {{ altItemClassName = altItemClassName + " suggest-replace"}} {{ } }} {{ RenderAltFooter(linkText, linkUrl, (raw.productstatus == statusDiscontinue ? "Discontinued" : raw.productstatus), altItemClassName) }} {{ } else { }} {{ RenderStandardFooter() }} {{ } }}
{{ function RenderAltFooter(linkText, linkUrl, productStatus, altItemClassName) { }}
{{- linkText}}
{{- productStatus}}
{{ } }}
{{ function RenderStandardFooter() { }}{{ var searchResultsDoubleClass = raw.productallphotometrylink || raw.productallbimlink ? 'search-results-grid__cta--double' : '' }}{{ if(raw.hasproductbrandspecsheetconfig == 1 || raw.hasproductbrandiesrevitconfig == 1){ }}{{ searchResultsDoubleClass= ''; } }}{{ var styleIfSpecIesHidden = raw.hasproductbrandspecsheetconfig == 1 && raw.hasproductbrandiesrevitconfig == 1 ? 'height: 37px;' : '' }}{{ var isIesRevitAvailable = raw.productallphotometrylink || raw.productallbimlink ? true : false }}{{ var styleIfOneisHiddenOthUnavailable = (( !isIesRevitAvailable && raw.hasproductbrandspecsheetconfig == 1) || (raw.productspecsheets == null && raw.hasproductbrandiesrevitconfig == 1)) ? 'height: 37px;' : '' }}
{{ if(!(raw.hasproductbrandspecsheetconfig == 1)){ }}
Spec Sheets
{{ if(raw.productspecsheets == null) { }}
No Spec Sheets available for this product.
{{ } else { }} {{ if(raw.productspecsheets != null) { }}
Spec Sheets
- {{ _.each(raw.productspecsheets, function(specsheet) { }} {{var specSheetArray = specsheet.split("|"); }}
- {{ if(specSheetArray[3] && specSheetArray[3].includes("docs.distech-controls.com")) { }} {{- specSheetArray[1] }} {{ } else { }} {{- specSheetArray[1] }} {{ } }} {{ }) }}
View More {{ } }} {{ } }}
{{ } }}
{{ if(raw.productallphotometrylink || raw.productallbimlink) { }}
{{ if(!(raw.hasproductbrandiesrevitconfig == 1)){ }}
IES/REVIT
{{ if(raw.productallphotometrylink || raw.productallbimlink) { }}
IES/REVIT
- {{ if(raw.productallphotometrylink != ""){ }}
- Download all Photometry {{ } }} {{ if(raw.productallbimlink != ""){ }}
- Download all BIM {{ } }}
View All Photometry/BIM Models {{ } }}
{{ } }}
{{ } }}
{{ } }}
{{var maxDescLength = 128}} {{var maxTitleLength = 34}}
{{- raw.productbrandname && raw.productbrandname.length ? raw.productbrandname.join(', ') : '' }}
{{var familyTitle = raw.coveocardtitle ? raw.coveocardtitle : (raw.name ? raw.name : '') }} {{ familyTitle = (familyTitle.length > maxTitleLength ? familyTitle.substring(0,maxTitleLength) + '...' : familyTitle)}}
{{- familyTitle}}{{var familyDesc = raw.productshortdescription == null ? '' : raw.productshortdescription}}
{{- (familyDesc.length > maxDescLength ? familyDesc.substring(0,maxDescLength) + '...' : familyDesc)}}
{{if(raw.familymembers && raw.familymembers.length > 0) { }} {{ var loopCount = raw.familymembers.length > 1 ? 2 : 1 }} {{ _.times(loopCount, function(n) { }}
{{- raw.familymembers[n].split("|")[1]}}
{{ }) }} {{ } else { }}
{{ } }}
VIEW PRODUCT FAMILY
{{ if(raw.imagelabels != null) { }}
{{ _.each(raw.imagelabels, function(imageLabel) { }} {{ if(imageLabel.indexOf('/-/media/') > -1 ) { }} {{ } else { }} {{- imageLabel}} {{ } }} {{ }) }}
{{ } }} {{ if(raw.bannerlabels != null) { }}
{{ _.each(raw.bannerlabels, function(bannerlabel) { }} {{ if(bannerlabel.indexOf('/-/media/') > -1 ) { }} {{ } else { }} {{- bannerlabel}} {{ } }} {{ }) }}
{{ } }}
{{- raw.productbrandname}}
{{ if(raw.stockedlabels != null) { }}
{{ if(raw.stockedlabels.indexOf('/-/media/') > -1 ) { }} {{ } else { }} {{- raw.stockedlabels}} {{ } }}
{{ } }}
{{- raw.name}}
{{- raw.productshortdescription}}
{{ if(raw.tez120xtlabels != null && (raw.productstatus ==null || (raw.productstatus != statusDiscontinue && raw.productstatus != statusBrandChange))) { }}
- {{ _.each(raw.tez120xtlabels, function(textLabel) { }} {{ if(textLabel.indexOf('/-/media/') > -1 ) { }} {{ } else { }}
- {{- textLabel}} {{ } }} {{ }) }}
{{ } }}
{{ if(raw.productstatus != null && (raw.productstatus != null && ( raw.productstatus == statusLimitedInv || raw.productstatus == statusDiscontinue || raw.productstatus == statusBrandChange)) ) { }} {{ var linkText = 'View' }} {{ var linkUrl = geoClickUri }} {{ var altItemClassName = "search-results-grid__cta__item__alternate"}} {{ if(raw.hasreplacementproducts != null && raw.hasreplacementproducts == "1" && raw.productstatus != statusLimitedInv) { }} {{ linkUrl = geoClickUri + "#replacedby" }} {{ linkText = "Suggested Replacement" }} {{ } }} {{ RenderAltFooter(linkText, linkUrl, (raw.productstatus == statusDiscontinue ? "Discontinued" : raw.productstatus), altItemClassName) }} {{ } else { }} {{ RenderStandardFooter() }} {{ } }}