Ticket #2299 (closed バグ指摘: 修正済)

Opened 11 years ago

Last modified 11 years ago

発送済みにしても誕生日ポイントが付与されない

Reported by: kimoto Owned by: somebody
Priority: Milestone: EC-CUBE2.13.0
Component: 管理画面 Version: 2.12.5
Keywords: Cc:
修正済み: yes

Description

 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=12959&post_id=59613&order=0&viewmode=flat&pid=59605&forum=10#forumpost59613

EC-CUBEバージョン:2.12.2PHPバージョン:PHP 5.2.17DBバージョン:PostgreSQL 9.0.4運営しているサイトにて0円商品の取り扱いをしているのですが、カートに商品を入れた際に、商品合計金額が0円の場合、誕生日ポイントを付加しないというように、カスタマイズを行おうと思い、他の方の書き込みを参考に/data/class/SC_CartSession.phpの670行目の下記部分を触るのかな?というところまでたどり着きましたが、何ともうまくいきません。---if ($objCustomer != '') {// 誕生日月であった場合if ($objCustomer->isBirthMonth()) {$results['birth_point'] = BIRTH_MONTH_POINT;$results['add_point'] += $results['birth_point'];}            }----素人ながら試しに、下記のようにいろいろ試してみましたが、ダメでした。if ($objCustomer != '') {// 誕生日月であった場合if ($objCustomer->isBirthMonth()) {$results['birth_point'] = BIRTH_MONTH_POINT;$results['add_point'] += $results['birth_point'];}if ($results['total'] < 0) {$results['birth_point'] = 0;                }            }解決の糸口となるようなヒントをご教示いただけませんでしょうか。

確認したところ、受注管理画面でも表示されますが、発送済みにすると0ポイントになってしまいます

Change History

comment:1 Changed 11 years ago by kimoto

  • Status changed from new to closed
  • 修正済み set
  • Resolution set to 修正済

2.13のコードでは修正されていました

Note: See TracTickets for help on using tickets.