バージョン選択

フォーラム

メニュー

オンライン状況

30 人のユーザが現在オンラインです。 (17 人のユーザが フォーラム を参照しています。)
登録ユーザ: 1
ゲスト: 29
saped77663 もっと...

サイト内検索

質問 > フロント機能 > 【決済画面】お支払方法をラジオボタンからセレクトボックスに

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
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

 



ログイン


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

統計情報

総メンバー数は89,397名です
総投稿数は110,082件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1652
8
red
1570
9
mcontact
1304
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.