プラグイン > 開発について > form 内の choices をプラグイン側で変更したい |
開発について
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
h_tanaka |
投稿日時: 2017/6/12 17:02
対応状況: 解決済
|
神 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1638 |
form 内の choices をプラグイン側で変更したい EC-CUBE 3.0.14
formで定義されている choice タイプの選択肢 choices をプラグイン側で変更するにはどうすればよいでしょうか? 具体的には、フロント画面の注文内容確認ページにて表示される配送方法を条件によって変更したいと思っています。 src/Eccube/Form/Type/ShippingItemType.php(抜粋)
src/Eccube/Controller/ShoppingController.php 134行目の EccubeEvents::FRONT_SHOPPING_INDEX_INITIALIZE にてプラグインを呼び出します。 app/Plugin/Test/event.yml
app/Plugin/Test/Event.php
|
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/12 17:02 |
Re: form 内の choices をプラグイン側で変更したい | hata | 2017/6/12 19:16 |
Re: form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/13 10:14 |
Re: form 内の choices をプラグイン側で変更したい | hata | 2017/6/13 10:23 |
Re: form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/13 10:31 |
Re: form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/13 10:38 |
Re: form 内の choices をプラグイン側で変更したい | hata | 2017/6/13 10:56 |
Re: form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/13 11:12 |
Re: form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/13 11:27 |
Re: form 内の choices をプラグイン側で変更したい | hata | 2017/6/13 11:58 |
Re: form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/13 12:35 |
Re: form 内の choices をプラグイン側で変更したい | hata | 2017/6/13 12:55 |
Re: form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/13 14:27 |
Re: form 内の choices をプラグイン側で変更したい | hata | 2017/6/13 14:43 |
Re: form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/13 14:53 |
Re: form 内の choices をプラグイン側で変更したい | hata | 2017/6/13 15:17 |
Re: form 内の choices をプラグイン側で変更したい | h_tanaka | 2017/6/13 15:28 |