<h2>{$language.lblRecommendationsForYou}</h2>
{if isset($recmmdPtds) && !empty($recmmdPtds)}
	<div class="slider-block">    
	<ul class="bxslider">
		{foreach from=$recmmdPtds item="recmmd" key=i } 
		<li class="onhoverborder">
		  <div class="content">
			<div class="rec-img-blck text-center pos-rel">
				{assign var="catalog" value=$catalog|default:''}
				{html->anchor href="{$recmmd.productID|sef_path:'product':$catalog}" caption="<img src='{$view_public_path}/uploads/catalog/product/thumb/{$recmmd.productImage}'  />"}
			</div>
            <div class="padding-left pos-rel">
			<div class="title-div ">
				{html->anchor href="{$recmmd.productID|sef_path:'product':$catalog}" class="text-color" caption="{$recmmd.productTitle|truncate:50}"}<br> 
				<span class="price">
				{if $recmmd.productOptionRegularPrice neq $recmmd.offerPrice}
				<del>{$recmmd.productOptionRegularPrice|price:'':$recmmd.productDefaultCurrency:$recmmd.productDefaultCurrency}</del> 
				{/if}
				<strong class="bpfc">{$recmmd.offerPrice|price:'':$recmmd.productDefaultCurrency:$recmmd.productDefaultCurrency}</strong>
				</span>
			</div>
			<!-- review starts -->
            {if $recmmd['productReviewsCount']|default:0 > 0}
            <div class="ratingBx">
					{assign var="avgRating" value=$recmmd['ratingTotal']/$recmmd['productReviewsCount']}
					{assign var="avgRating" value=$avgRating|number_format:1}
				<div class="starRating"><div class="rated" style="width:{$avgRating * 20}%"></div></div>[ {$recmmd['productReviewsCount']} {$language.lblReviews}  ]
			 </div>{/if}
             <!-- review ends --> 
             </div>
	      </div>   
		</li>
		{/foreach}
	</ul>
	</div>
{else}
	<div class="warning">{$language.lblNoRecommendationsFound}</div> 
{/if}
