(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
「/* 商品情報 各種設定」の箇所に追加する。
①margin、paddingの調整と下線(点線)→#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 ; }
②今後の追加・修正を考えて
/* 在庫数 */ #detailrightbloc .stock { }