これで、どうでしょうか?
LC_Page_FrontParts_Bloc_Recommend.php
function init() {
parent::init();
// added
$masterData = new SC_DB_MasterData_Ex();
$this->arrSTATUS = $masterData->getMasterData('mtb_status');
$this->arrSTATUS_IMAGE = $masterData->getMasterData('mtb_status_image');
// added
// 取得
$arrProductList = $objProduct->getListByProductIds($objQuery, $arrProductId);
// added
$arrProductStatus = $objProduct->getProductStatus($arrProductId);
foreach ($arrProductStatus as $key => $value) {
$arrProductList[$key]['productStatus'] = $value;
}
// 商品ステータスがない商品は、$arrProductList[$key]['productStatus']が存在しない。
// added
recommend.tpl
<!--{if count($arrBestProducts) > 0}-->
<div class="block_outer clearfix">
<div id="recommend_area">
<h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_recommend.jpg" alt="*" class="title_icon" /></h2>
<div class="block_body clearfix">
<!--{foreach from=$arrBestProducts item=arrProduct name="recommend_products"}-->
<div class="product_item clearfix">
<div class="productImage">
<a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->">
<img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$arrProduct.name|h}-->" />
</a>
</div>
<!--{* added *}-->
<!--{if $arrProduct.productStatus}-->
<div class="productStatus">
<!--{foreach from=$arrProduct.productStatus item=productStatus}-->
<!--{$arrSTATUS[$productStatus]}-->
<img src="<!--{$TPL_URLPATH}--><!--{$arrSTATUS_IMAGE[$productStatus]}-->" width="60" height="17" alt="<!--{$arrSTATUS[$productStatus]}-->" />
<!--{/foreach}-->
</div>
<!--{/if}-->
<!--{* added *}-->
<div class="productContents">
<h3>
<a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"><!--{$arrProduct.name|h}--></a>
</h3>
<p class="sale_price">
<!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): <span class="price"><!--{$arrProduct.price02_min_inctax|number_format}--> 円</span>
</p>
<p class="mini comment"><!--{$arrProduct.comment|h|nl2br}--></p>
</div>
</div>
<!--{if $smarty.foreach.recommend_products.iteration % 2 === 0}-->
<div class="clear"></div>
<!--{/if}-->
<!--{/foreach}-->
</div>
</div>
</div>
<!--{/if}-->
商品ステータスは、複数ある場合、該当するものが羅列されます。