Changeset 19915
- Timestamp:
- 2011/01/14 18:40:07 (13 years ago)
- Location:
- branches/version-2_5-dev/data
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/mobile/cart/index.tpl
r19845 r19915 22 22 */ 23 23 *}--> 24 <!--▼CONTENTS--> 25 <!--▼MAIN ONTENTS--> 26 <div align="center"><font color="#000080">かご表示</font></div> 27 <!--{if $tpl_message != ""}--> 28 <!--{$tpl_message}--><br> 24 <center>かご表示</center> 25 26 <hr> 27 28 <!--{* カゴの中に商品がある場合にのみ表示 *}--> 29 <!--{if count($cartKeys) > 1}--> 30 <font color="#FF0000"><!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}-->、<!--{/if}--><!--{/foreach}--> 31 は同時購入できません。お手数ですが、個別に購入手続きをお願い致します。<br></font> 29 32 <!--{/if}--> 33 34 <!--{if strlen($tpl_error) != 0}--> 35 <font color="#FF0000"><!--{$tpl_error|h}--></font><br> 36 <!--{/if}--> 37 38 <!--{if strlen($tpl_message) != 0}--> 39 <!--{$tpl_message|h|nl2br}--><br> 40 <!--{/if}--> 41 30 42 <!--{if count($cartItems) > 0}--> 31 43 <!--{foreach from=$cartKeys item=key}--> … … 35 47 <input type="hidden" name="cartKey" value="<!--{$key}-->"> 36 48 <!--ご注文内容ここから--> 37 <hr> 49 <!--{if count($cartKeys) > 1 }--> 50 <hr> 51 <!--{$arrProductType[$key]}--> 52 <hr> 53 <!--{/if}--> 38 54 <!--{foreach from=$cartItems[$key] item=item}--> 39 55 <!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br> … … 56 72 商品合計:<!--{$tpl_total_inctax[$key]|number_format}-->円<br> 57 73 合計:<!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}-->円<br> 74 <br> 75 76 <!--{if $arrInfo.free_rule > 0}--> 77 <!--{if $arrData[$key].deliv_fee > 0}--> 78 あと「<!--{$tpl_deliv_free[$key]|number_format}-->円」で送料無料です!!<br> 79 <!--{else}--> 80 現在、「送料無料」です!!<br> 81 <!--{/if}--> 82 <br> 83 <!--{/if}--> 84 58 85 <!--{if $smarty.const.USE_POINT !== false}--> 59 <br>60 86 <!--{if $arrData[$key].birth_point > 0}--> 61 87 お誕生月ポイント<br> 62 88 <!--{$arrData[$key].birth_point|number_format}-->pt<br> 63 89 <!--{/if}--> 64 今回加算ポイント<br> 65 <!--{$arrData[$key].add_point|number_format}-->pt<br> 90 今回加算ポイント<br> 91 <!--{$arrData[$key].add_point|number_format}-->pt<br> 92 <br> 66 93 <!--{/if}--> 67 <br> 94 68 95 <center><input type="submit" value="注文する"></center> 69 96 </form> 70 <!--{/foreach}--> 97 71 98 <!--{if $tpl_prev_url != ""}--> 72 99 <a href="<!--{$tpl_prev_url}-->">[emoji:69]お買物を続ける</a> 73 100 <!--{/if}--> 101 <!--{/foreach}--> 74 102 <!--{else}--> 75 103 ※現在カート内に商品はございません。<br> 76 104 <!--{/if}--> 77 <!--▲CONTENTS--> 78 <!--▲MAIN CONTENTS--> 79 <!--▲CONTENTS--> 105 106 <!--{if $smarty.const.USE_POINT !== false}--> 107 <hr> 108 <!--{if $tpl_login}--> 109 <!--{$tpl_name|h}--> 様の、現在の所持ポイントは「<!--{$tpl_user_point|number_format|default:0}--> pt」です。<br> 110 <!--{else}--> 111 ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br> 112 <!--{/if}--> 113 ポイントは商品購入時に1ptを<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br> 114 <!--{/if}--> 80 115 81 116 <br> -
branches/version-2_5-dev/data/Smarty/templates/mobile/mail_templates/order_mail.tpl
r19764 r19915 53 53 54 54 <!--{/section}--> 55 <!--{if $arrOrder.customer_id && $smarty.const.USE_POINT !== false}--> 56 ■ポイント情報 57 <!--{* ご注文前のポイント {$tpl_user_point} pt *}--> 58 ご使用ポイント:<!--{$arrOrder.use_point|number_format|default:0}--> pt 59 加算ポイント:<!--{$arrOrder.add_point|number_format|default:0}--> pt 60 保持ポイント:<!--{$arrCustomer.point|number_format|default:0}--> pt 61 <!--{/if}--> -
branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/index.tpl
r19833 r19915 28 28 いつもご利用いただきありがとうございます。<br> 29 29 <br> 30 <!--★現在のポイント★--> 31 <!--{if $smarty.const.USE_POINT !== false}--> 32 現在の所持ポイントは「<!--{$CustomerPoint|number_format|default:"0"|h}-->」Ptです。<br> 33 <br> 34 <!--{/if}--> 35 30 36 <a href="history.php" accesskey="1"><!--{1|numeric_emoji}-->購入履歴</a><br> 31 37 <a href="change.php" accesskey="2"><!--{2|numeric_emoji}-->登録内容変更</a><br> -
branches/version-2_5-dev/data/Smarty/templates/mobile/products/detail.tpl
r19835 r19915 22 22 */ 23 23 *}--> 24 <!--▼CONTENTS--> 25 <!--▼MAIN CONTENTS--> 26 <!--タイトルここから--> 27 <!--★商品名★--> 28 <div align="center"><!--{$arrProduct.name|h}--></div> 24 <center><!--{$tpl_subtitle|h}--></center> 29 25 <hr> 30 <!--タイトルここまで--> 31 <!-- 詳細ここから-->26 27 <!--★商品画像★--> 32 28 <!--{if $smarty.get.image != ''}--> 33 29 <!--{assign var=key value="`$smarty.get.image`"}--> 34 30 <!--{else}--> 35 31 <!--{assign var=key value="main_image"}--> 36 32 <!--{/if}--> 37 <img src="<!--{$arrFile[$key].filepath}-->"> 33 <center><img src="<!--{$arrFile[$key].filepath}-->"></center> 34 35 <!--★商品サブ画像★--> 38 36 <!--{if $subImageFlag == true}--> 39 37 <br>画像 … … 56 54 <!--{/if}--> 57 55 <!--{/section}--> 56 <br> 58 57 <!--{/if}--> 59 58 <br> 59 60 60 <!--{* オペビルダー用 *}--> 61 61 <!--{if "sfViewDetailOpe"|function_exists === TRUE}--> 62 62 <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/detail_ope_mb_view.tpl}--> 63 63 <!--{/if}--> 64 <!--★詳細メインコメント★--> 64 65 <!--★詳細メインコメント★--> 65 66 [emoji:76]<!--{$arrProduct.main_comment|nl2br_html}--><br> 66 67 <br> 67 <!--アイコン--> 68 69 <!--★商品コード★--> 70 商品コード: 71 <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> 72 <!--{$arrProduct.product_code_min|h}--> 73 <!--{else}--> 74 <!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}--> 75 <!--{/if}--> 76 <br> 77 68 78 <!--★販売価格★--> 69 79 <font color="#FF0000"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): … … 73 83 <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 74 84 <!--{/if}--> 75 円</font><br/> 85 円</font> 86 <br/> 87 88 <!--{if $arrProduct.price01_max > 0}--> 76 89 <!--★通常価格★--> 77 <!--{if $arrProduct.price01_max > 0}-->78 90 <font color="#FF0000"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->: 79 91 <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> … … 82 94 <!--{$arrProduct.price01_min|number_format}-->~<!--{$arrProduct.price01_max|number_format}--> 83 95 <!--{/if}--> 84 円</font><br> 96 円</font> 97 <br> 85 98 <!--{/if}--> 99 100 <!--★ポイント★--> 101 <!--{if $smarty.const.USE_POINT !== false}--> 102 ポイント: 103 <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 104 <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 105 <!--{else}--> 106 <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 107 <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 108 <!--{else}--> 109 <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->~<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 110 <!--{/if}--> 111 <!--{/if}--> 112 Pt<br> 113 <!--{/if}--> 114 <br> 115 116 <!--★関連カテゴリ★--> 117 関連カテゴリ:<br> 118 <!--{section name=r loop=$arrRelativeCat}--> 119 <!--{section name=s loop=$arrRelativeCat[r]}--> 120 <a href="<!--{$smarty.const.URL_PATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> 121 <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> 122 <!--{/section}--> 123 <br> 124 <!--{/section}--> 125 <br> 126 86 127 <form name="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|h}-->"> 87 128 <input type="hidden" name="mode" value="select"> … … 94 135 <!--{/if}--> 95 136 </form> 96 <!--詳細ここまで-->97 <!--▲CONTENTS-->98 137 99 <br>100 138 <hr> 101 139 -
branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/confirm.tpl
r19897 r19915 47 47 【購入金額】<br> 48 48 商品合計:<!--{$tpl_total_inctax[$cartKey]|number_format}-->円<br> 49 <!--{if $smarty.const.USE_POINT !== false}--> 50 <!--{assign var=discount value=`$arrData.use_point*$smarty.const.POINT_VALUE`}--> 51 ポイント値引き:-<!--{$discount|number_format|default:0}-->円<br> 52 <!--{/if}--> 49 53 送料:<!--{$arrData.deliv_fee|number_format}-->円<br> 50 54 <!--{if $arrData.charge > 0}-->手数料:<!--{$arrData.charge|number_format}-->円<br><!--{/if}--> … … 53 57 54 58 <br> 59 60 <!--{* ログイン済みの会員のみ *}--> 61 <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}--> 62 【ポイント確認】<br> 63 ご注文前のポイント:<!--{$tpl_user_point|number_format|default:0}-->Pt<br> 64 ご使用ポイント:-<!--{$arrData.use_point|number_format|default:0}-->Pt<br> 65 <!--{if $arrData.birth_point > 0}-->お誕生月ポイント:+<!--{$arrData.birth_point|number_format|default:0}-->Pt<br><!--{/if}--> 66 今回加算予定のポイント:+<!--{$arrData.add_point|number_format|default:0}-->Pt<br> 67 <!--{assign var=total_point value=`$tpl_user_point-$arrData.use_point+$arrData.add_point`}--> 68 加算後のポイント:<!--{$total_point|number_format}-->Pt<br> 69 70 <br> 71 <!--{/if}--> 55 72 56 73 <!--{* 販売方法判定(ダウンロード販売のみの場合はお届け先を表示しない) *}--> … … 88 105 <br> 89 106 107 <!--{if $arrData.message != ""}--> 108 【その他お問い合わせ】<br> 109 <!--{$arrData.message|h|nl2br}--><br> 110 <!--{/if}--> 111 112 <br> 113 90 114 <br> 91 115 … … 93 117 </form> 94 118 <form action="<!--{$smarty.const.MOBILE_SHOPPING_PAYMENT_URL_PATH}-->" method="post"> 95 <input type="hidden" name="mode" value=" deliv_date">119 <input type="hidden" name="mode" value=""> 96 120 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->"> 97 <input type="hidden" name="payment_id" value="<!--{$arrData.payment_id}-->">98 <input type="hidden" name="deliv_date" value="<!--{$arrData.deliv_date}-->">99 <input type="hidden" name="deliv_time_id" value="<!--{$arrData.deliv_time_id}-->">100 <!--{if $cartdown != 2}-->101 <input type="hidden" name="mode" value="deliv_date">102 <!--{/if}-->103 121 <center><input type="submit" value="戻る"></center> 104 122 </form> -
branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/payment.tpl
r19835 r19915 22 22 */ 23 23 *}--> 24 <center> 支払い方法指定</center>24 <center>お支払方法・お届け時間等の指定</center> 25 25 26 26 <hr> 27 27 28 28 <form method="post" action="?"> 29 <input type="hidden" name="mode" value=" deliv_date">29 <input type="hidden" name="mode" value="confirm"> 30 30 <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->"> 31 <input type="hidden" name="deliv_date" value="<!--{$arrForm.deliv_date.value}-->"> 32 <input type="hidden" name="deliv_time_id" value="<!--{$arrForm.deliv_time_id.value}-->"> 33 <!--<input type="hidden" name="message" value="">--> 34 <!--{if $tpl_login == 1}--> 35 <!--<input type="hidden" name="point_check" value="2">--> 36 <!--{/if}--> 37 31 ■お支払方法 <font color="#FF0000">*</font><br> 38 32 <!--{assign var=key value="payment_id"}--> 39 33 <!--{if $arrErr[$key] != ""}--> 40 <font color=" red"><!--{$arrErr[$key]}--></font>34 <font color="#FF0000"><!--{$arrErr[$key]}--></font> 41 35 <!--{/if}--> 42 36 <!--{section name=cnt loop=$arrPayment}--> … … 45 39 <br> 46 40 <!--{/section}--> 41 <br> 42 43 ■お届け日<br> 44 <!--{assign var=key value="deliv_date"}--> 45 <!--{if $arrErr[$key] != ""}--> 46 <font color="#FF0000"><!--{$arrErr[$key]}--></font> 47 <!--{/if}--> 48 <!--{if $arrDelivDate}--> 49 <select name="<!--{$key}-->"> 50 <option value="">指定なし</option> 51 <!--{html_options options=$arrDelivDate selected=$arrForm[$key].value}--> 52 </select> 53 <!--{else}--> 54 ご指定頂けません。 55 <!--{/if}--> 56 <br> 57 <br> 58 59 ■お届け時間<br> 60 <!--{assign var=key value="deliv_time_id"}--> 61 <!--{if $arrErr[$key] != ""}--> 62 <font color="#FF0000"><!--{$arrErr[$key]}--></font> 63 <!--{/if}--> 64 <select name="<!--{$key}-->"> 65 <option value="">指定なし</option> 66 <!--{html_options options=$arrDelivTime selected=$arrForm[$key].value}--> 67 </select> 68 <br> 69 <br> 70 71 ■その他お問い合わせ<br> 72 <!--{assign var=key value="message"}--> 73 <!--{if $arrErr[$key] != ""}--> 74 <font color="#FF0000"><!--{$arrErr[$key]}--></font> 75 <!--{/if}--> 76 <textarea cols="20" rows="2" name="<!--{$key}-->"><!--{$arrForm[$key].value|h}--></textarea> 77 <br> 78 <br> 79 80 <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}--> 81 ■ポイント使用の指定<br> 82 1ポイントを<!--{$smarty.const.POINT_VALUE}-->円として使用する事ができます。<br> 83 <br> 84 <!--{$objCustomer->getValue('name01')|h}--> <!--{$objCustomer->getValue('name02')|h}-->様の、現在の所持ポイントは「<!--{$tpl_user_point|number_format|default:0}-->Pt」です。<br> 85 <br> 86 今回ご購入合計金額: <!--{$arrData.subtotal|number_format}-->円<br> 87 (送料、手数料を含みません。)<br> 88 <br> 89 <input type="radio" name="point_check" value="1" <!--{$arrForm.point_check.value|sfGetChecked:1}-->>ポイントを使用する<br> 90 <!--{assign var=key value="use_point"}--> 91 <!--{if $arrErr[$key] != ""}--> 92 <font color="#FF0000"><!--{$arrErr[$key]}--></font> 93 <!--{/if}--> 94 <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|default:$tpl_user_point}-->" maxlength="<!--{$arrForm[$key].length}-->" size="6"> ポイントを使用する。<br> 95 <input type="radio" name="point_check" value="2" <!--{$arrForm.point_check.value|sfGetChecked:2}-->>ポイントを使用しない<br> 96 <br> 97 <!--{/if}--> 47 98 48 99 <center><input type="submit" value="次へ"></center> 100 </form> 101 102 <form action="<!--{$tpl_back_url|h}-->" method="get"> 49 103 <center><input type="submit" name="return" value="戻る"></center> 50 104 </form> 51 105 52 <br>53 106 <hr> 54 107 -
branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage.php
r19908 r19915 209 209 $this->CustomerName1 = $objCustomer->getvalue('name01'); 210 210 $this->CustomerName2 = $objCustomer->getvalue('name02'); 211 $this->CustomerPoint = $objCustomer->getvalue('point'); 211 212 } 212 213 } -
branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r19908 r19915 139 139 if (!isset($_POST['mode'])) $_POST['mode'] = ""; 140 140 141 // 戻るボタンの処理(モバイル)142 if (Net_UserAgent_Mobile::isMobile() === true) {143 if (!empty($_POST['return'])) {144 switch ($_POST['mode']) {145 case 'confirm':146 $_POST['mode'] = 'payment';147 break;148 default:149 // 正常な推移であることを記録しておく150 $objSiteSess->setRegistFlag();151 if ($this->cartdown == 2) {152 // ダウンロード商品のみの場合はカート画面へ戻る153 SC_Response_Ex::sendRedirect(CART_URL_PATH);154 } else {155 SC_Response_Ex::sendRedirect(SHOPPING_URL);156 }157 exit;158 }159 }160 }161 162 141 switch($_POST['mode']) { 163 // お届け日時指定(モバイル)164 case 'deliv_date':165 // 入力値の変換166 $this->objFormParam->convParam();167 $this->arrErr = $this->lfCheckError($this->arrData, $this->arrPayment);168 if (!isset($this->arrErr['payment_id'])) {169 // 支払い方法の入力エラーなし170 $this->tpl_mainpage = 'shopping/deliv_date.tpl';171 $this->tpl_title = "お届け日時指定";172 break;173 } else {174 // ユーザユニークIDの取得175 $uniqid = $objSiteSess->getUniqId();176 // 受注一時テーブルからの情報を格納177 $this->lfSetOrderTempData($uniqid);178 }179 break;180 142 case 'confirm': 181 143 // 入力値の変換 … … 198 160 // 受注一時テーブルからの情報を格納 199 161 $this->lfSetOrderTempData($uniqid); 200 if (Net_UserAgent_Mobile::isMobile() === true && !isset($this->arrErr['payment_id'])) {201 // 支払い方法の入力エラーなし202 $this->tpl_mainpage = 'shopping/deliv_date.tpl';203 $this->tpl_title = "お届け日時指定";204 }205 162 } 206 163 break; … … 244 201 $this->objFormParam->addParam("お支払い方法", "payment_id", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK")); 245 202 $this->objFormParam->addParam("ポイント", "use_point", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK", "ZERO_START")); 246 $this->objFormParam->addParam(" ご質問", "message", LTEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK"));203 $this->objFormParam->addParam("その他お問い合わせ", "message", LTEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 247 204 $this->objFormParam->addParam("ポイントを使用する", "point_check", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"), '2'); 248 205
Note: See TracChangeset
for help on using the changeset viewer.