質問 > フロント機能 > 【決済画面】お支払方法をラジオボタンからセレクトボックスに |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
samurai |
投稿日時: 2010/5/11 18:11
対応状況: −−−
|
半人前 登録日: 2010/3/18 居住地: 投稿: 16 |
【決済画面】お支払方法をラジオボタンからセレクトボックスに 現在、決済画面の『お支払方法』を選択する箇所を
標準の『ラジオボタン』から『セレクトボックス』にしたいと思い、 /data/Smarty/templates/furisode/shopping/payment.tpl を修正しているのですが、 セレクトボックスにすると、『お届け時間』の選択ができず、 『指定なし』のままになってしまいます。 イベントハンドラの記述に問題があるかと思うのですが、 いかんせんそちらの知識がなく困っています。 本来ならEC-CUBEのフォーラムにスレッドを立てるべきではないのかも知れないのですが、お分かりになる方ご教示願えないでしょうか? よろしくお願いします。 【 元のソース 】 <!--{assign var=key value="payment_id"}--> <!--{if $arrErr[$key] != ""}--> <p class="attention"><!--{$arrErr[$key]}--></p> <!--{/if}--> <table summary="お支払方法選択" class="tbl640"> <tr> <th>選択</th> <th colspan="<!--{if $img_show == false}-->1<!--{else}-->2<!--{/if}-->">お支払方法</th> </tr> <!--{section name=cnt loop=$arrPayment}--> <tr> <td class="centertd"><input type="radio" id="pay_<!--{$smarty.section.cnt.iteration}-->" name="<!--{$key}-->" onclick="fnModeSubmit('payment', '', '');" value="<!--{$arrPayment[cnt].payment_id}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" <!--{$arrPayment[cnt].payment_id|sfGetChecked:$arrForm[$key].value}--> /> </td> <td> <label for="pay_<!--{$smarty.section.cnt.iteration}-->"><!--{$arrPayment[cnt].payment_method|escape}--><!--{if $arrPayment[cnt].note != ""}--><!--{/if}--></label> </td> <!--{if $img_show}--> <td> <!--{if $arrPayment[cnt].payment_image != ""}--> <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrPayment[cnt].payment_image}-->" /> <!--{/if}--> </td> <!--{/if}--> </tr> <!--{/section}--> 【 変更後 】→『指定なし』のままになってしまいます。 <!--{assign var=key value="payment_id"}--> <!--{if $arrErr[$key] != ""}--> <p class="attention"><!--{$arrErr[$key]}--></p> <!--{/if}--> <!--{if $arrPayment[cnt].payment_image != ""}--> <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrPayment[cnt].payment_image}-->" /> <!--{else}--> <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onChange="fnModeSubmit('payment', '', '');"> <!--{section name=cnt loop=$arrPayment}--> <option id="pay_<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrPayment[cnt].payment_id}-->" name="<!--{$key}-->"><!--{$arrPayment[cnt].payment_method|escape}--><!--{if $arrPayment[cnt].note != ""}--><!--{/if}--></option> <!--{html_options options=$arrPayment.payment_id selected=$arrForm[$key].value}--> <!--{/section}--> </select> <!--{/if}--> 【 お届け時間の箇所のソース 】 <!--{/if}--> <!--★お届け時間★--> <!--{assign var=key value="deliv_time_id"}--> <span class="attention"><!--{$arrErr[$key]}--></span> <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> <option value="" selected="">指定なし</option> <!--{html_options options=$arrDelivTime selected=$arrForm[$key].value}--> </select> EC-CUBE正式版 2.4.3 を使用しています。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» 【決済画面】お支払方法をラジオボタンからセレクトボックスに | samurai | 2010/5/11 18:11 |
Re: 【決済画面】お支払方法をラジオボタンからセレクトボックスに | seasoft | 2010/5/11 20:11 |
Re: 【決済画面】お支払方法をラジオボタンからセレクトボックスに | samurai | 2010/5/11 20:40 |
Re: 【決済画面】お支払方法をラジオボタンからセレクトボックスに | samurai | 2010/5/20 11:31 |
Re: 【決済画面】お支払方法をラジオボタンからセレクトボックスに | Masashige | 2010/5/20 12:15 |
Re: 【決済画面】お支払方法をラジオボタンからセレクトボックスに/複数店舗間での物品レンタル・来店予約システム | samurai | 2010/5/21 10:44 |
Re: 【決済画面】お支払方法をラジオボタンからセレクトボックスに/複数店舗間での物品レンタル・来店予約システム | DELIGHT | 2010/5/21 12:22 |
Re: 【決済画面】お支払方法をラジオボタンからセレクトボックスに/複数店舗間での物品レンタル・来店予約システム | samurai | 2010/5/21 15:36 |