<!--{*
 * This file is part of EC-CUBE
 * by bookmark
 *
 *}-->
<!--▼セール情報ここから-->
<!--{if count($arrSaleProducts) > 0}-->
<div id="blocarea">
  <h2>
    <img src="<!--{$TPL_DIR}-->img/top/saleproducts.jpg" alt="セール商品情報" />
  </h2>
  <div id="img_wrap">
  <!--{foreach from=$arrSaleProducts item="arrSaleProducts" name="loop"}-->
  <!--{* セイハン仕様、一行に３商品表示 *}-->
  <!--{if $smarty.foreach.loop.iteration % 3 == 1}-->
  <div class="colblock">
  <!--{/if}-->
    <div class="productblock<!--{$smarty.foreach.loop.iteration%3}-->">
    <!--{if $arrSaleProducts.main_list_image != ""}-->
      <!--{assign var=image_path value="`$arrSaleProducts.main_list_image`"}-->
    <!--{else}-->
      <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
    <!--{/if}-->

      <table><tr><td>
      <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrSaleProducts.product_id}-->">
          <img src="<!--{$smarty.const.URL_DIR}-->upload/save_image/<!--{$image_path|sfRmDupSlash}-->" alt="<!--{$arrSaleProducts.name|escape}-->" />
      </a>
      </table></tr></td>

      <h3>
        <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrSaleProducts.product_id}-->" class="mini"><!--{$arrSaleProducts.name|escape}--></a>
      </h3>

      <!--{assign var=price02 value=`$arrSaleProducts.price02_min`}-->

      <p><span class="price"><span class="mini">
      <!--{if $arrSaleProducts.price02_min == $arrSaleProducts.price02_max}-->
        <!--{$arrSaleProducts.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
      <!--{else}-->
        <!--{$arrSaleProducts.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrSaleProducts.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
      <!--{/if}-->円
      </span></span><span class="mini">(税込)</span>
      </p>
      <p class="mini"><span class="desc"><!--{$arrSaleProducts.comment|escape|nl2br}--></span></p>
    </div>
  <!--{if $smarty.foreach.loop.iteration % 3 == 0}-->
  </div>
  <!--{/if}-->
  <!--{/foreach}-->
  </div>

  <!--{* ループ終了時の行の商品数が３以下の場合はここで強制的にproductblockタグを閉じる。 *}-->
  <!--{if $smarty.foreach.loop.total % 3 != 0}-->
  </div>
  <!--{/if}-->
  <div align="right"><a href="<!--{$smarty.const.URL_DIR}-->products/list.php?opt=sale">全てのセール品を見る >></a></div>
</div>
<!--{/if}-->
<!--▲セール情報ここまで-->
