% var hasSelection = this.selector.hasSelection(); var content = this.data.get('content'); if (hasSelection) { var product = this.data.get('productCollection').get(this.selector.get('productID')); var variant = product.get('variants').get(this.selector.get('variantID')); var brochurePath = product.get('brochureLinkPath'); var testRidePath = product.get('testRidePath'); var viewProductPath = product.get('viewProductLinkPath'); var image = variant.get('image'); %>
<% if (product.get('isNew')) { %> <%= content.newLabel %> <% } %> <%= product.get('name') %>
<%= variant.get('name') %>
<%= content.fromLabel + ' ' + variant.get('minPrice') %>
<% if(image && image.path.length){ %>