EC-CUBE2.12:在庫の有無、または数量を表示する

(1)の下に追記
■data/Smarty/templates/default/products/detail.tpl

<!--▼在庫数▼-->
<div class="stock">
<span id="zaikokazu">在庫:
<!--{if $arrProduct.stock_unlimited_min == 1}-->
有り
<!--{else}-->
<!--{$arrProduct.stock_min|number_format}-->点
<!--{/if}-->

<!--{if $arrProduct.stock_unlimited_min != $arrProduct.stock_unlimited_max || $arrProduct.stock_min != $arrProduct.stock_max}-->
~ <!--{if $arrProduct.stock_unlimited_max}-->有り<!--{else}--><!--{$arrProduct.stock_max|number_format}-->点<!--{/if}-->
<!--{/if}--></span>
</div>
<!--▲在庫数▲-->

(2)CSSを書き換える。
■html/user_data/packages/default/css/contents.css
「/* 商品情報 各種設定」の箇所(2つ目)に追加する。

#detailrightbloc .stockを追加

#detailrightbloc .point,
#detailrightbloc .relative_cat,
#detailrightbloc .stock {
margin: 0 0 10px 0;
padding: 0 0 10px 0;
background: url("../img/background/line_dot_01.gif") repeat-x bottom ;
}