バージョン選択

フォーラム

メニュー

オンライン状況

77 人のユーザが現在オンラインです。 (61 人のユーザが フォーラム を参照しています。)
登録ユーザ: 3
ゲスト: 74
Go88app 8dayglobal kbsw もっと...

サイト内検索

バグ報告 > フロント機能 > v2.13.0 非会員購入:生年月日の入力チェック等がされていない。

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
sumida
投稿日時: 2013/9/21 17:56
対応状況: −−−
仙人
登録日: 2013/2/10
居住地: 広島県呉市ときどき瀬戸内海
投稿: 641
v2.13.0 非会員購入:生年月日の入力チェック等がされていない。
非会員購入画面:生年月日の入力欄について
テンプレート:
data/Smarty/templates/default/shopping/nonmember_input.tpl
では、prefix="order_"になっており、
HTMLの展開形も、生年月日に"order_"が付加されていました。

class:
data/class/pages/shopping/LC_Page_Shopping.php
では、sfCustomerRegisterParamにより、prefix="order_"で展開しています。

    public function lfInitParam(&$objFormParam)
    {
        SC_Helper_Customer_Ex::sfCustomerCommonParam($objFormParam, 'order_');
        SC_Helper_Customer_Ex::sfCustomerRegisterParam($objFormParam, false, false, 'order_');

        // 不要なパラメーターの削除
        // XXX: 共通化したことをうまく使えば、以前あった購入同時会員登録も復活出来そうですが
        $objFormParam->removeParam('order_password');
        $objFormParam->removeParam('order_password02');
        $objFormParam->removeParam('order_reminder');
        $objFormParam->removeParam('order_reminder_answer');
        $objFormParam->removeParam('order_mailmaga_flg');

        $objFormParam->addParam('別のお届け先', 'deliv_check', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK'));

        SC_Helper_Customer_Ex::sfCustomerCommonParam($objFormParam, 'shipping_');
    }

しかし、
data/class/helper/SC_Helper_Customer.php
では、

        // XXX: year,month,dayはprefix付けないのが今のところ共通
        $objFormParam->addParam('年', 'year', 4, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK'), '', false);
        $objFormParam->addParam('月', 'month', 2, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK'), '', false);
        $objFormParam->addParam('日', 'day', 2, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK'), '', false);

と記述してあります。

非会員購入では、生年月日部分の入力チェック等がされないのではないでしょうか?

追伸:
スマホは、nonmember_input.tplが統合されていないので、"order_"がついていません。
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
 » v2.13.0 非会員購入:生年月日の入力チェック等がされていない。 sumida 2013/9/21 17:56
     Re: v2.13.0 非会員購入:生年月日の入力チェック等がされていない。 habu 2013/9/30 15:47
       Re: v2.13.0 非会員購入:生年月日の入力チェック等がされていない。 sumida 2013/12/9 13:19
         Re: v2.13.0 非会員購入:生年月日の入力チェック等がされていない。 sumida 2013/12/14 20:08
           Re: v2.13.0 非会員購入:生年月日の入力チェック等がされていない。 sumida 2014/1/7 16:36
             Re: v2.13.0 非会員購入:生年月日の入力チェック等がされていない。 shutta 2014/6/4 0:24
               Re: v2.13.0 非会員購入:生年月日の入力チェック等がされていない。 sumida 2014/6/4 10:16
                 Re: v2.13.0 非会員購入:生年月日の入力チェック等がされていない。 shutta 2014/6/4 12:03

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,849名です
総投稿数は109,986件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1291
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.