おーぷんそーすで行こう-XREA- by hiro

トップページ > oscommerce(alter版) > ポイント関連バグの修正⑤

≪ ポイント関連バグの修正④ | TOP | パンくずリストのカタログを非表示にする ≫

2006年08月14日

 ■  ポイント関連バグの修正⑤

全額をポイントで支払う場合の不具合の修正

1../includes/classes/order_total.php 208行目あたり

if ($order->info['total'] - $total_deductions <= 0 ) {

を以下に変更する。

if (($order->info['total'] == $order->info['subtotal'] or USE_POINTS_FOR_SHIPPING == "true")
and $order->info['total'] - $total_deductions <= 0 ) {

2../includes/modules/order_total/ot_redemptions.php 32行目あたり

$order_total = $this->get_order_total();

を以下に変更する。

if(USE_POINTS_FOR_SHIPPING == "true"){ $order_total = $order->info['total']; }
else { $order_total = $order->info['subtotal']; }

2006年08月14日 17:13

トラックバック

このエントリーのトラックバックURL:
http://open.free-creator.com/mt-tb.cgi/118

コメント

コメントしてください




保存しますか?

(書式を変更するような一部のHTMLタグを使うことができます)

Copyright 2006-2010 © free-creator.com