消費税込の価格表示法
http://www.welcart.com/community/forums/topic/%E7%A8%8E%E8%BE%BC%E3%81%BF%E4%BE%A1%E6%A0%BC%E3%81%AE%E8%A1%A8%E7%A4%BA%E6%96%B9%E6%B3%95
<?php global $usces; $price = usces_the_itemPrice( 'return' );//売価 $tax = $usces->getTax( $price );//売価×基本設定の税額(税計算方法も考慮します) echo 'With tax: ¥' . number_format($price + $tax); ?>
送料についての参考
送料加算の仕組み
http://www.welcart.com/documents/topicks/%E9%80%81%E6%96%99%E5%8A%A0%E7%AE%97%E3%81%AE%E4%BB%95%E7%B5%84%E3%81%BF
配送設定
http://www.welcart.com/documents/manual-2/%E9%85%8D%E9%80%81%E8%A8%AD%E5%AE%9A#kokusaibin
カートページカスタマイズ 消費税込み
http://welcustom.net/consumption-tax-cart-page/
$html .= usces_get_cart_rows('return'); //追加コード //タックスモードなら税金と税込み表示 if ( 'exclude' == $this->options['tax_mode'] ){ $total_price = usces_total_price('return') - usces_order_discount('return'); $taxsss = $this -> getTax( $total_price ); $with_tax_price = $total_price + $taxsss; $tax_html = '<tr> <td colspan="5" scope="row" class="aright">消費税</td><td class="aright">¥'.$taxsss.'</td> <td colspan="2"> </td></tr> <tr><td colspan="5" scope="row" class="aright">税込合計</td><td class="aright"> ¥'.$with_tax_price.' </td><td colspan="2"> </td></tr> <tr><td colspan="6" scope="row" class="aright">送料別</td><td colspan="2"> </td></tr> '; } //税込みモードなら else{ $tax_html = ' <tr> <td colspan="5" scope="row" class="aright">' . __('total items','usces') . usces_guid_tax('return') . '</td> <td class="aright">' . usces_crform($this->get_total_price(), true, false, 'return') . '</td> <td colspan="2"> </td> </tr>'; } //追加ここまで $cart_table_footer = '</tbody> <tfoot> '//ココも追加ね .$tax_html //まで .' </tfoot> </table> ';