質問 > 管理機能 > 2.12.2 ポイントが加算されません。 |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
zorosai |
投稿日時: 2014/5/28 16:35
対応状況: −−−
|
新米 登録日: 2012/2/5 居住地: 投稿: 6 |
Re: 2.12.2 ポイントが加算されません。 tsuji様早速のご返答ありがとうございます。
先程の書き込みには間違いがありました。 以下に訂正致します。 >加算ポイントをみると、加算されるようになっているという ことでしょうか? 受注管理>出荷済み>受注状況表示を見るとポイントは加算されております。 受注管理>受注登録>受注商品情報には加算されております。 受注管理>受注登録>注文者情報>現在ポイントには加算されません。 >それで、なにかカスタマイズもしくはプラグインやモジュール等 >入れておられるでしょうか? 送料の設定をカスタマイズした事があります。 SC_CartSession.phpファイルのタグを以下に変更しました。 =============================== function calculate($productTypeId, &$objCustomer, $use_point = 0, $deliv_pref = '', $charge = 0, $discount = 0, $deliv_id = 0 ) { $results = array(); $total_point = $this->getAllProductsPoint($productTypeId); $results['tax'] = $this->getAllProductsTax($productTypeId); $results['subtotal'] = $this->getAllProductsTotal($productTypeId); $results['deliv_fee'] = 0; // 商品ごとの送料を加算 if (OPTION_PRODUCT_DELIV_FEE == 1) { $cartItems = $this->getCartList($productTypeId); foreach ($cartItems as $arrItem) { $results['deliv_fee'] += $arrItem['productsClass']['deliv_fee'] * $arrItem['quantity']; } } // 配送業者の送料を加算 if (OPTION_DELIV_FEE == 1 && !SC_Utils_Ex::isBlank($deliv_pref) && !SC_Utils_Ex::isBlank($deliv_id)) { $results['deliv_fee'] += $this->sfGetDelivFee($deliv_pref, $deliv_id); } // 送料無料チェック if ($this->isDelivFree($productTypeId)) { $results['deliv_fee'] = 0; } // 合計を計算 $results['total'] = $results['subtotal']; $results['total'] += $results['deliv_fee']; $results['total'] += $charge; $results['total'] -= $discount; // お支払い合計 $results['payment_total'] = $results['total'] - $use_point * POINT_VALUE; // 加算ポイントの計算 if (USE_POINT !== false) { $results['add_point'] = SC_Helper_DB_Ex::sfGetAddPoint($total_point, $use_point); if ($objCustomer != '') { // 誕生日月であった場合 if ($objCustomer->isBirthMonth()) { $results['birth_point'] = BIRTH_MONTH_POINT; $results['add_point'] += $results['birth_point']; } } if ($results['add_point'] < 0) { $results['add_point'] = 0; } } return $results; } =============================== >また、いつごろからこの現象が起きているのでしょうか? 履歴を確認したところ最初らポイント加算されていないみたいです。 お手数をお掛けして申し訳ございませんが宜しくお願い致します。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
2.12.2 ポイントが加算されません。 | zorosai | 2014/5/28 3:03 |
Re: 2.12.2 ポイントが加算されません。 | tsuji | 2014/5/28 9:18 |
» Re: 2.12.2 ポイントが加算されません。 | zorosai | 2014/5/28 16:35 |
Re: 2.12.2 ポイントが加算されません。 | tsuji | 2014/5/29 9:51 |
Re: 2.12.2 ポイントが加算されません。 | zorosai | 2014/5/29 17:55 |
Re: 2.12.2 ポイントが加算されません。 | tsuji | 2014/5/30 9:52 |
Re: 2.12.2 ポイントが加算されません。 | zorosai | 2014/5/30 16:09 |
Re: 2.12.2 ポイントが加算されません。 | tsuji | 2014/6/2 10:09 |
Re: 2.12.2 ポイントが加算されません。 | zorosai | 2014/6/3 2:42 |
Re: 2.12.2 ポイントが加算されません。 | tsuji | 2014/6/3 10:22 |