返信先: 税込み価格の表示方法

フォーラム 使い方全般 税込み価格の表示方法 返信先: 税込み価格の表示方法

#74877
mint1414
参加者

yasumax様

お返事ありがとうございます。
WordPress 4.2.2、Welcart1.4.18にアップロードしました。
商品一覧ページでは、そのままでは症状は変わらずでしたので、
usces_the_firstPrice()を使用するように変更したらちゃんと表示できました。
ありがとうございました。

<?php
   global $usces;
   $price = usces_the_firstPrice('return');//
   $tax = $usces->getTax($price);
   echo '¥' . number_format($price + $tax) . '<em class="tax">(税込)</em>';
?>