- Timestamp:
- 2011/02/08 00:39:38 (13 years ago)
- bzr:base-revision:
- [email protected]
- bzr:committer:
- Kentaro Ohkouchi <[email protected]>
- bzr:file-ids:
data/Smarty/templates/default/shopping/confirm.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fshopping%2Fconfirm.tpl
data/Smarty/templates/default/shopping/payment.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fshopping%2Fpayment.tpl
data/Smarty/templates/mobile/shopping/confirm.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fmobile%2Fshopping%2Fconfirm.tpl
data/Smarty/templates/mobile/shopping/payment.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fmobile%2Fshopping%2Fpayment.tpl
data/Smarty/templates/mobile/shopping/select_deliv.tpl select_deliv.tpl-20110207152600-lm5bjhtot5ipow7j-1
data/Smarty/templates/sphone/shopping/confirm.tpl confirm.tpl-20101209134550-lsv02w9wikfx9cj3-35
data/Smarty/templates/sphone/shopping/payment.tpl payment.tpl-20101209134550-lsv02w9wikfx9cj3-40
data/class/SC_CartSession.php 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2FSC_CartSession.php
data/class/helper/SC_Helper_Purchase.php sc_helper_purchase.p-20101020100530-jyaoa7ch9pdfjqzp-1
data/class/pages/shopping/LC_Page_Shopping_Confirm.php 15223@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fshopping%2FLC_Page_Shopping_Confirm.php
data/class/pages/shopping/LC_Page_Shopping_Payment.php 15223@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fshopping%2FLC_Page_Shopping_Payment.php
html/install/sql/create_table_mysql.sql 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Finstall%2Fsql%2Fcreate_table_mysql.sql
html/install/sql/create_table_pgsql.sql 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Finstall%2Fsql%2Fcreate_table_pgsql.sql- bzr:mapping-version:
- v4
- bzr:merge:
[email protected]- bzr:repository-uuid:
- 1e3b908f-19a9-db11-a64c-001125224ba8
- bzr:revision-id:
- [email protected]
- bzr:revno:
- 2840
- bzr:revprop:branch-nick:
- branches/version-2_5-dev
- bzr:root:
- branches/version-2_5-dev
- bzr:text-revisions:
data/Smarty/templates/default/shopping/confirm.tpl [email protected]
data/Smarty/templates/default/shopping/payment.tpl [email protected]
data/Smarty/templates/mobile/shopping/confirm.tpl [email protected]
data/Smarty/templates/mobile/shopping/payment.tpl [email protected]
data/Smarty/templates/mobile/shopping/select_deliv.tpl [email protected]
data/Smarty/templates/sphone/shopping/confirm.tpl [email protected]
data/Smarty/templates/sphone/shopping/payment.tpl [email protected]
data/class/SC_CartSession.php [email protected]
data/class/helper/SC_Helper_Purchase.php [email protected]
data/class/pages/shopping/LC_Page_Shopping_Confirm.php [email protected]
data/class/pages/shopping/LC_Page_Shopping_Payment.php [email protected]
html/install/sql/create_table_mysql.sql [email protected]
html/install/sql/create_table_pgsql.sql [email protected]- bzr:timestamp:
- 2011-02-08 00:39:32.996000051 +0900
- bzr:user-agent:
- bzr2.2.1+bzr-svn1.0.4
- svn:original-date:
- 2011-02-07T15:39:32.996000Z
- Location:
- branches/version-2_5-dev/data/Smarty/templates/default/shopping
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/default/shopping/confirm.tpl
r19983 r20112 244 244 <!--お届け先ここまで--> 245 245 246 <h3>▼ お支払方法・その他お問い合わせ</h3>247 <table summary=" お支払方法・その他お問い合わせ" class="delivname">246 <h3>▼配送方法・お支払方法・その他お問い合わせ</h3> 247 <table summary="配送方法・お支払方法・その他お問い合わせ" class="delivname"> 248 248 <tbody> 249 <tr> 250 <th>配送方法</th> 251 <td><!--{$arrDeliv[$arrData.deliv_id]|h}--></td> 252 </tr> 249 253 <tr> 250 254 <th>お支払方法</th> 251 255 <td><!--{$arrData.payment_method|h}--></td> 252 256 </tr> 253 <!--{* 販売方法判定(ダウンロード販売のみの場合はお届け日、時間を表示しない) *}-->254 257 <tr> 255 258 <th>その他お問い合わせ</th> … … 258 261 </tbody> 259 262 </table> 260 261 <!--{if 'sfTSPrintOrderBox'|function_exists}-->262 <!--{'sfTSPrintOrderBox'|call_user_func}-->263 <!--{/if}-->264 263 265 264 <div class="tblareabtn"> -
branches/version-2_5-dev/data/Smarty/templates/default/shopping/payment.tpl
r20068 r20112 21 21 *}--> 22 22 <!--▼CONTENTS--> 23 <script type="text/javascript">//<![CDATA[ 24 $(function() { 25 $('input[id^=deliv_]').click(function() { 26 var data = {}; 27 data.mode = 'select_deliv'; 28 data.deliv_id = $(this).val(); 29 $.ajax({ 30 type : 'POST', 31 url : location.pathname, 32 data: data, 33 cache : false, 34 dataType : 'json', 35 error : remoteException, 36 success : function(data, dataType) { 37 if (data.error) { 38 remoteException(); 39 } else { 40 // 支払い方法の行を生成 41 var payment_tbody = $('#payment tbody'); 42 payment_tbody.empty(); 43 for (var i in data.arrPayment) { 44 // ラジオボタン 45 var radio = $('<input type="radio" />') 46 .attr('name', 'payment_id') 47 .attr('id', 'pay_' + i) 48 .val(data.arrPayment[i].payment_id); 49 // ラベル 50 var label = $('<label />') 51 .attr('for', 'pay_' + i) 52 .text(data.arrPayment[i].payment_method); 53 // 行 54 var tr = $('<tr />') 55 .append($('<td />') 56 .addClass('centertd') 57 .append(radio)) 58 .append($('<td />').append(label)); 59 60 // 支払方法の画像が登録されている場合は表示 61 if (data.img_show) { 62 var payment_image = data.arrPayment[i].payment_image; 63 $('th#payment_method').attr('colspan', 3); 64 if (payment_image) { 65 var img = $('<img />').attr('src', '<!--{$smarty.const.IMAGE_SAVE_URLPATH}-->' + payment_image); 66 tr.append($('<td />').append(img)); 67 } else { 68 tr.append($('<td />')); 69 } 70 } else { 71 $('th#payment_method').attr('colspan', 2); 72 } 73 74 tr.appendTo(payment_tbody); 75 } 76 // お届け時間を生成 77 var deliv_time_id_select = $('select[id^=deliv_time_id]'); 78 deliv_time_id_select.empty(); 79 deliv_time_id_select.append($('<option />').text('指定なし').val('')); 80 for (var i in data.arrDelivTime) { 81 var option = $('<option />') 82 .val(i) 83 .text(data.arrDelivTime[i]) 84 .appendTo(deliv_time_id_select); 85 } 86 } 87 } 88 }); 89 }); 90 91 /** 92 * 通信エラー表示. 93 */ 94 function remoteException(XMLHttpRequest, textStatus, errorThrown) { 95 alert('通信中にエラーが発生しました。カート画面に移動します。'); 96 location.href = '<!--{$smarty.const.CART_URLPATH}-->'; 97 } 98 }); 99 //]]> 100 </script> 23 101 <div id="under02column"> 24 102 <div id="under02column_shopping"> … … 31 109 <input type="hidden" name="mode" value="confirm" /> 32 110 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" /> 111 112 <!--{assign var=key value="deliv_id"}--> 113 <!--{if $is_single_deliv}--> 114 <input type="hidden" name="<!--{$key}-->" value="<!--{$arrForm[$key].value}-->" /> 115 <!--{else}--> 116 <div class="payarea"> 117 <h3>配送方法の指定</h3> 118 <p>配送方法をご選択ください。</p> 119 120 <!--{if $arrErr[$key] != ""}--> 121 <p class="attention"><!--{$arrErr[$key]}--></p> 122 <!--{/if}--> 123 <table summary="配送方法選択"> 124 <tr> 125 <th>選択</th> 126 <th colspan="2">配送方法</th> 127 </tr> 128 <!--{section name=cnt loop=$arrDeliv}--> 129 <tr> 130 <td class="centertd"><input type="radio" id="deliv_<!--{$smarty.section.cnt.iteration}-->" name="<!--{$key}-->" value="<!--{$arrDeliv[cnt].deliv_id}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" <!--{$arrDeliv[cnt].deliv_id|sfGetChecked:$arrForm[$key].value}--> /> 131 </td> 132 <td> 133 <label for="deliv_<!--{$smarty.section.cnt.iteration}-->"><!--{$arrDeliv[cnt].name|h}--><!--{if $arrDeliv[cnt].remark != ""}--><p><!--{$arrDeliv[cnt].remark|h}--></p><!--{/if}--></label> 134 </td> 135 </tr> 136 <!--{/section}--> 137 </table> 138 </div> 139 <!--{/if}--> 140 33 141 <div class="payarea"> 34 142 <h3>お支払方法の指定</h3> … … 39 147 <p class="attention"><!--{$arrErr[$key]}--></p> 40 148 <!--{/if}--> 41 <table summary="お支払方法選択"> 42 <tr> 149 <table summary="お支払方法選択" id="payment"> 150 <thead> 151 <tr> 43 152 <th>選択</th> 44 <th colspan="<!--{if !$img_show}-->2<!--{else}-->3<!--{/if}-->">お支払方法</th> 45 </tr> 46 <!--{section name=cnt loop=$arrPayment}--> 47 <tr> 48 <td class="centertd"><input type="radio" id="pay_<!--{$smarty.section.cnt.iteration}-->" name="<!--{$key}-->" value="<!--{$arrPayment[cnt].payment_id}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" <!--{$arrPayment[cnt].payment_id|sfGetChecked:$arrForm[$key].value}--> /> 49 </td> 153 <th colspan="<!--{if !$img_show}-->2<!--{else}-->3<!--{/if}-->" id="payment_method">お支払方法</th> 154 </tr> 155 </thead> 156 <tbody> 157 <!--{section name=cnt loop=$arrPayment}--> 158 <tr> 159 <td class="centertd"><input type="radio" id="pay_<!--{$smarty.section.cnt.iteration}-->" name="<!--{$key}-->" value="<!--{$arrPayment[cnt].payment_id}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" <!--{$arrPayment[cnt].payment_id|sfGetChecked:$arrForm[$key].value}--> /></td> 50 160 <td> 51 161 <label for="pay_<!--{$smarty.section.cnt.iteration}-->"><!--{$arrPayment[cnt].payment_method|h}--><!--{if $arrPayment[cnt].note != ""}--><!--{/if}--></label> 52 162 </td> 53 163 <!--{if $img_show}--> … … 58 168 </td> 59 169 <!--{/if}--> 60 </tr>170 </tr> 61 171 <!--{/section}--> 172 </tbody> 62 173 </table> 63 174 </div> … … 67 178 <h3>お届け時間の指定</h3> 68 179 <p>ご希望の方は、お届け時間を選択してください。</p> 69 <!--{foreach item=shippingItem name=shippingItem from=$ shipping}-->180 <!--{foreach item=shippingItem name=shippingItem from=$arrShipping}--> 70 181 <!--{assign var=index value=$smarty.foreach.shippingItem.index}--> 71 182 <div> … … 77 188 ご指定頂けません。 78 189 <!--{else}--> 79 <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">190 <select name="<!--{$key}-->" id="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"> 80 191 <option value="" selected="">指定なし</option> 81 192 <!--{html_options options=$arrDelivDate selected=$arrForm[$key].value}--> … … 90 201 <!--{html_options options=$arrDelivTime selected=$arrForm[$key].value}--> 91 202 </select> 92 <!--{if $is Multiple}-->203 <!--{if $is_multiple}--> 93 204 <!--{$shippingItem.shipping_name01}--><!--{$shippingItem.shipping_name02}--> 94 205 <!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01}--><!--{$shippingItem.shipping_addr02}-->
Note: See TracChangeset
for help on using the changeset viewer.