EC-CUBE 2.13系を使用しています。
商品一覧・詳細画面それぞれで、通常価格と販売価格の差を%OFFと表示させたいです。
最初にプラグイン「2.13系 割引率「%OFF」表示プラグイン」を使用しましたが、何も表示されず、エラーも出ない・・・といった状態で諦めました。
その後、下記サイト
http://ec-cube.nakweb.com/blog/1559.htmlを元にカスタマイズしましたが結局何も表示されず・・・。
困り果てております。
エラーが出るならそこから調べようもあるのですが、うんともすんとも言わないので解決できずにいます。
どなたか知恵をお貸しください。。
detail.php 価格部分
<div class="price_point">
<div class="sale_price">
<!--{strip}-->
<strong id="price02_default">
<!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
<!--{$arrProduct.price02_min|number_format}--> <!--{else}-->
<!--{$arrProduct.price02_min|number_format}-->〜<!--{$arrProduct.price02_max|number_format}-->
<!--{/if}-->
</strong>
<strong id="price02_dynamic"></strong>
<!--{/strip}--> 円 (税別)</div>
<!--{if $arrProduct.price01_min > 0}-->
<div class="normal_price">
<!--{strip}-->
<!--{$smarty.const.NORMAL_PRICE_TITLE}-->: <span id="price01_default">
<!--{if $arrProduct.price01_min == $arrProduct.price01_max}-->
<!--{$arrProduct.price01_min|number_format}-->
<!--{else}-->
<!--{$arrProduct.price01_min|number_format}-->〜<!--{$arrProduct.price01_max|number_format}-->
<!--{/if}--></span>
<span id="price01_dynamic"></span>
<!--{/strip}--> 円 (税別)</div>
<!--{/if}-->
<!--{if $smarty.const.USE_POINT !== false}-->
<div class="point">
<!--{strip}-->
ポイント: <span id="point_default">
<!--{if $arrProduct.price02_min == $arrProduct.price02_max}--><!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}-->
<!--{else}-->
<!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate}-->
<!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}-->
<!--{else}-->
<!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}-->〜
<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate|number_format}-->
<!--{/if}-->
<!--{/if}--></span>
<span id="point_dynamic"></span>
<!--{/strip}--> Pt</div><!--{/if}-->
<!--{if $arrProduct.maker_name|strlen >= 1}-->
<div class="maker">メーカー: <!--{$arrProduct.maker_name|h}--></div><!--{/if}-->
<!--{if $arrProduct.comment1|strlen >= 1}-->
<div class="maker_url">メーカーURL: <a href="<!--{$arrProduct.comment1|h}-->"><!--{$arrProduct.comment1|h}--></a></div><!--{/if}--></div>