Coveo.TemplateCache.registerTemplate("CardSalesforceB2BProduct", Coveo.HtmlTemplate.fromString("<div class=\"coveo-result-frame\">\n    <div class=\"coveo-result-cell\">\n      <div class=\"coveo-result-row\">\n        <div class=\"coveo-result-cell\">\n          <div class=\"coveo-result-row\">\n            <div class=\"coveo-result-cell\" style=\"text-align:left;\" role=\"heading\" aria-level=\"2\">\n              <a class=\"CoveoResultLink\" data-field=\"@clickableuri\"></a>\n            </div>\n            <div class=\"coveo-result-cell\" style=\"width:50px\">\n              <div class=\"CoveoQuickview\" data-always-show=\"true\"></div>\n            </div>\n          </div>\n          <div class=\"coveo-result-row\">\n            <div class=\"coveo-result-cell\" style=\"padding-top:5px; padding-bottom:5px\">\n              <div class=\"CoveoText\" data-value=\"Description\" data-weight=\"bold\"></div>\n              <div class=\"CoveoFieldValue\" data-field=\"@sflongdescrt\" style=\"height: 3.6em; text-overflow: ellipsis; overflow: hidden\"></div>\n              <div class=\"CoveoStarRating\" data-rating-field=\"@sfaveragerating\" data-number-of-ratings-field=\"@sfnumberofreviews\"></div>\n            </div>    \n          </div>\n          <div class=\"coveo-result-row\">\n            <div class=\"coveo-result-cell\">\n              <div class=\"CoveoText\" data-value=\"Type\" data-weight=\"bold\"></div>\n              <div class=\"CoveoFieldValue\" data-field=\"@sfproducttype\"></div>\n            </div>\n            <div class=\"coveo-result-cell\">\n              <div class=\"CoveoText\" data-value=\"SKU\" data-weight=\"bold\"></div>\n              <div class=\"CoveoFieldValue\" data-field=\"@sfsku\"></div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>",{"condition":null,"layout":"card","fieldsToMatch":[{"field":"sfaveragerating"}],"mobile":null,"role":null}),true, true)
Coveo.TemplateCache.registerTemplate("SalesforceB2BProduct", Coveo.HtmlTemplate.fromString("<div class=\"coveo-result-frame\">\n  <div class=\"coveo-result-cell\" style=\"vertical-align:top; padding-left:16px;\">\n    <div class=\"coveo-result-row\" style=\"margin-top:0;\">\n      <div class=\"coveo-result-cell\" style=\"vertical-align:top; font-size:16px;\" role=\"heading\" aria-level=\"2\">\n        <a class=\"CoveoResultLink\" data-field=\"@clickableuri\" data-open-quickview=\"true\"></a>\n      </div>\n    </div>\n    <div class=\"coveo-result-row\" style=\"margin-top:10px\">\n      <div class=\"coveo-result-cell\">\n        <div class=\"CoveoFieldValue\" data-field=\"@sflongdescrt\" style=\"height: 4em; text-overflow: ellipsis; overflow: hidden; font-size: 13px\"></div>\n      </div>\n    </div>\n    <div class=\"coveo-result-row\" style=\"margin-top: 10px\">\n      <div class=\"coveo-result-cell\" style=\"font-size:13px; vertical-align:bottom\">\n        <span class=\"CoveoStarRating\" data-rating-field=\"@sfaveragerating\" data-number-of-ratings-field=\"@sfnumberofreviews\" style=\"margin-right:2.5em; display:inline-block\"></span>\n        <span class=\"CoveoFieldValue\" data-field=\"@sfproducttype\" data-text-caption=\"Type\" style=\"margin-right:2.5em;\"></span>\n        <span class=\"CoveoFieldValue\" data-field=\"@sfsku\" data-text-caption=\"SKU\" style=\"margin-right:2.5em;\"></span>\n      </div>\n    </div>\n  </div>\n  <div class=\"coveo-result-cell\" style=\"font-size:15px; width:90px; padding-left:15px\">\n    <div class=\"CoveoQuickview\" data-always-show=\"true\"></div>\n  </div>\n</div>",{"condition":null,"layout":"list","fieldsToMatch":[{"field":"sfaveragerating"}],"mobile":null,"role":null}),true, true)