-->
{{{product_cats}}}
<#
var product_cats = [];
if(data._highlightResult !== undefined && data._highlightResult.taxonomies !== undefined && data._highlightResult.taxonomies.product_cat !== undefined) {
for (var index in data._highlightResult.taxonomies.product_cat) {
product_cats.push(data._highlightResult.taxonomies.product_cat[index].value);
}
}
product_cats = product_cats.join(', ');
#>
<# if(data.is_on_sale === true && data.product_type !== 'variable') { #>
{{data.formatted_regular_price}}
<# } #>
{{data.formatted_price}}<# if(data.product_type === 'variable' && data.price !== data.max_price) { #>-{{data.formatted_max_price}}
<# } #>
<# if(data.is_on_sale === true && data.product_type !== 'variable') { #><# } #>
<#
var rate_in_percentage = (data.average_rating * 2 * 10);
//this will round the result to 2 decimal float
var multiplier = Math.pow(10, 2 || 0);
var rating_percentage = Math.round(rate_in_percentage * multiplier) / multiplier;
#>
<# if(data.rating_count > 0) { #>
Rated {{data.average_rating}} out of 5
<# } #>
Interesting smokey aftertaste
A good Helles beer with the typical Schlenkerla smoke. Very refreshing!