LoginSignup
4
3

More than 5 years have passed since last update.

EC-CUBE 3 のストアフロントで取得できるユーザ情報

Last updated at Posted at 2018-10-07

EC-CUBE3のtwigテンプレート上{{app.user.xxx}}で取得できるログインユーザ(ショップ会員)の項目名と値のサンプル。

Key Sample
id 7
name01 "佐々木"
name02 "多生"
kana01 "ササキ"
kana02 "タヲ"
company_name "株式会社クロスキューブ"
zip01 "173"
zip02 "0004"
zipcode null
addr01 "板橋区板橋"
addr02 "1234"
tel01 "03"
tel02 "1234"
tel03 "5678"
fax01 null
fax02 null
fax03 null
birth null
password "42yeuwidfjkfherjk"
salt "43tr9eufi"
secret_key "4trwgueifvodjklna"
first_buy_date DateTime
last_buy_date DateTime
buy_times "3"
note null
reset_key null
reset_expire null
Status CustomerStatus
create_date DateTime
update_date DateTime
del_flg 0
Sex Sex
Job null
Country null
Pref Pref
CustomerFavoriteProducts PersistentCollection
CustomerAddresses PersistentCollection
Orders PersistentCollection

デバッグモードにして、twigテンプレートの適当なとこに{{dump(app.user)}}と書くと詳しく見れます。

EC-CUBEのカスタマイズはこちら

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3