Skip to content

Commit

Permalink
カンマ区切りされない。誤った値引き額が出力される。 EC-CUBE#780
Browse files Browse the repository at this point in the history
  • Loading branch information
seasoftjapan committed Oct 19, 2023
1 parent ac42946 commit f2e5f74
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data/Smarty/templates/default/cart/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<!--{/foreach}-->
<tr>
<th colspan="5" class="alignR">合計</th>
<td class="alignR"><span class="price"><!--{$arrData[$key].total-$arrData[$key].deliv_fee|n2s|h}-->円</span></td>
<td class="alignR"><span class="price"><!--{$arrData[$key].subtotal|n2s|h}-->円</span></td>
</tr>
<!--{if $smarty.const.USE_POINT !== false}-->
<!--{if $arrData[$key].birth_point > 0}-->
Expand Down
4 changes: 2 additions & 2 deletions data/Smarty/templates/default/mail_templates/order_mail.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
-------------------------------------------------
小 計 ¥<!--{$arrOrder.subtotal|n2s|default:0}--> <!--{if 0 < $arrOrder.tax}-->(うち消費税 ¥<!--{$arrOrder.tax|n2s|default:0}-->)<!--{/if}-->

<!--{if $arrOrder.use_point > 0}-->
値引き ¥<!--{$arrOrder.use_point*$smarty.const.POINT_VALUE+$arrOrder.discount|n2s|default:0}-->
<!--{if $arrOrder.use_point*$smarty.const.POINT_VALUE+$arrOrder.discount > 0}-->
値引き ¥<!--{($arrOrder.use_point*$smarty.const.POINT_VALUE+$arrOrder.discount)|n2s|default:0}-->
<!--{/if}-->
送 料 ¥<!--{$arrOrder.deliv_fee|n2s|default:0}-->
手数料 ¥<!--{$arrOrder.charge|n2s|default:0}-->
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/mobile/cart/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<HR>
<!--{/foreach}-->
<font color="#FF0000">
合計:<!--{$arrData[$key].total-$arrData[$key].deliv_fee|n2s}-->円<br>
合計:<!--{$arrData[$key].subtotal|n2s}-->円<br>
</font>
<br>
<!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
Expand Down
4 changes: 2 additions & 2 deletions data/Smarty/templates/mobile/mail_templates/order_mail.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@

小 計 ¥<!--{$arrOrder.subtotal|n2s|default:0}--> <!--{if 0 < $arrOrder.tax}-->(うち消費税 ¥<!--{$arrOrder.tax|n2s|default:0}-->)<!--{/if}-->

<!--{if $arrOrder.use_point > 0}-->
値引き ¥<!--{$arrOrder.use_point*$smarty.const.POINT_VALUE+$arrOrder.discount|n2s|default:0}-->
<!--{if $arrOrder.use_point*$smarty.const.POINT_VALUE+$arrOrder.discount > 0}-->
値引き ¥<!--{($arrOrder.use_point*$smarty.const.POINT_VALUE+$arrOrder.discount)|n2s|default:0}-->
<!--{/if}-->
送 料 ¥<!--{$arrOrder.deliv_fee|n2s|default:0}-->
手数料 ¥<!--{$arrOrder.charge|n2s|default:0}-->
Expand Down
2 changes: 1 addition & 1 deletion data/Smarty/templates/sphone/cart/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<!--▲カートの中の商品一覧ここまで -->

<div class="total_area">
<div><span class="mini">合計:</span><span class="price fb"><!--{$arrData[$key].total-$arrData[$key].deliv_fee|n2s}--> 円</span></div>
<div><span class="mini">合計:</span><span class="price fb"><!--{$arrData[$key].subtotal|n2s}--> 円</span></div>
<!--{if $smarty.const.USE_POINT !== false}-->
<!--{if $arrData[$key].birth_point > 0}-->
<div><span class="mini">お誕生月ポイント:</span> <!--{$arrData[$key].birth_point|n2s}--> Pt</div>
Expand Down

0 comments on commit f2e5f74

Please sign in to comment.