<{if $selectedCategory = $webshop->getCategory($block.id)}> <{$selectedProducts = $selectedCategory->getOnlineProducts($block.max|default:9999)}> <{elseif $selectedLandingPage = $webshop->getLandingPage($block.id)}> <{$selectedProducts = $selectedLandingPage->getProducts($block.max|default:9999)}> <{/if}>
<{if $block.title}>
<<{$block.heading}>> <{$block.title}> >
<{/if}>
<{foreach $selectedProducts as $product}>
<{if $images = $product->getImages()}> <{$images[0]->getDescription()}> <{/if}>
<{if $youtube = $product->getExtensionValue('youtube_video_id')}> <{/if}>
<{$product->getName()|strip}>
<{if $reviews = $product->getProductReviews()}> <{$rating = $product->getAvgRating()}> <{$counter = [1,2,3,4,5]}>
<{foreach $counter as $count}> <{if $count > $rating}> <{else}> <{/if}> <{/foreach}> (<{$reviews|count}>)
<{/if}>
<{if $product->getSalePrice()}><{include file="include/price.html" price=$product->getPrice()}><{/if}> <{include file="include/price.html" price=$product->getRealPrice()}>
<{if $listDescription = $product->getListDescription()}>

<{$listDescription}>

<{/if}> <{include file="include/add_to_basket.html" product=$product}>
<{/foreach}>
<{if $block.href}> <{/if}>