- Timestamp:
- 2011/07/27 13:49:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/Smarty/templates/sphone/cart/index.tpl
r20978 r21050 29 29 //]]></script> 30 30 31 <!--▼CONTENTS--> 32 <h2 class="title"><!--{$tpl_title|h}--></h2> 33 <!--{if $smarty.const.USE_POINT !== false || count($arrProductsClass) > 0}--> 34 <p class="totalmoneyarea"> 35 <!--★ポイント案内★--> 36 <!--{if $smarty.const.USE_POINT !== false}--> 37 <!--{if $tpl_login}--> 38 <!--{$tpl_name|h}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br /> 39 <!--{else}--> 40 ポイント制度をご利用になられる場合は、会員登録後ログインしてくださいますようお願い致します。<br /> 41 <!--{/if}--> 42 ポイントは商品購入時に1pt=<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br /> 43 <!--{/if}--> 31 <!--▼コンテンツここから --> 32 <section id="undercolumn"> 44 33 45 <!--{* カゴの中に商品がある場合にのみ表示 *}-->46 <!--{if count($cartKeys) > 1}-->47 <em><!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}-->、<!--{/if}--><!--{/foreach}-->は同時購入できません。お手数ですが、個別に購入手続きをお願い致します。</em>48 <!--{/if}-->49 34 50 </p> 35 <h2 class="title"><!--{$tpl_title|h}--></h2> 36 <!--{if $smarty.const.USE_POINT !== false}--> 37 <!--★ポイント案内★--> 38 <div class="information"> 39 <p>商品の合計金額は「<span class="price"><!--{$tpl_total_inctax[$key]|number_format}-->円</span>」です。</p> 40 41 <!--{if $tpl_login}--> 42 <p point_announce><span class="user_name"><!--{$tpl_name|h}--> 様</span>の、現在の所持ポイントは「<span class="point"><!--{$tpl_user_point|number_format|default:0}--> pt</span>」です。<br /> 43 ポイントは商品購入時に<span class="price">1pt=<!--{$smarty.const.POINT_VALUE}-->円</span>として使用することができます。</p> 44 <!--{else}--> 45 <p class="point_announce">ポイント制度をご利用になられる場合は、ログインが必要です。</p> 51 46 <!--{/if}--> 47 48 </div> 49 <!--{/if}--> 52 50 53 51 <!--{if strlen($tpl_error) != 0}--> … … 59 57 <!--{/if}--> 60 58 59 <!--▼フォームここから --> 60 <div class="form_area"> 61 62 <!--{* カゴの中に商品がある場合にのみ表示 *}--> 63 <!--{if count($cartKeys) > 1}--> 64 <p class="attentionSt"> 65 <!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}-->、<!--{/if}--><!--{/foreach}-->は同時購入できません。お手数ですが、個別に購入手続きをお願い致します。</p> 66 <!--{/if}--> 67 61 68 <!--{if count($cartItems) > 0}--> 62 69 63 <!--{foreach from=$cartKeys item=key}--> 64 <form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="?"> 65 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 66 <!--{if 'sfGMOCartDisplay'|function_exists}--> 67 <!--{'sfGMOCartDisplay'|call_user_func}--> 70 <!--{foreach from=$cartKeys item=key}--> 71 72 <!--☆送料無料アナウンス右にスライドボタン --> 73 <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> 74 <!--{if $arrInfo.free_rule > 0}--> 75 <div class="bubbleBox"> 76 <div class="bubble_announce clearfix"> 77 <p><a rel="external" href="<!--{$tpl_prev_url|h}-->"> 78 <!--{if !$arrData[$key].is_deliv_free}--> 79 あと「<span class="price"><!--{$tpl_deliv_free[$key]|number_format}-->円</span>」で<span class="price">送料無料!!</span> 80 <!--{else}--> 81 現在、「<span class="price">送料無料</span>」です!! 82 <!--{/if}--> 83 <br /> 84 商品を追加しますか?</a></p> 85 </div> 86 <div class="bubble_arrow_line"><!--矢印空タグ --></div> 87 <div class="bubble_arrow"><!--矢印空タグ --></div> 88 </div> 89 <!--{/if}--> 68 90 <!--{/if}--> 69 91 70 <input type="hidden" name="mode" value="confirm" /> 71 <input type="hidden" name="cart_no" value="" /> 72 <input type="hidden" name="cartKey" value="<!--{$key}-->" /> 73 <!--{if count($cartKeys) > 1}--> 74 <h3><!--{$arrProductType[$key]}--></h3> 75 <p> 76 <!--{$arrProductType[$key]}-->の合計金額は「<em><!--{$tpl_total_inctax[$key]|number_format}-->円</em>」です。 77 <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> 78 <!--{if $arrInfo.free_rule > 0}--> 79 <!--{if !$arrData[$key].is_deliv_free}--> 80 あと「<em><!--{$tpl_deliv_free[$key]|number_format}-->円</em>」で送料無料です!! 81 <!--{else}--> 82 現在、「<em>送料無料</em>」です!! 83 <!--{/if}--> 84 <!--{/if}--> 85 <!--{/if}--> 86 </p> 87 <!--{else}--> 88 <p> 89 お買い上げ商品の合計金額は「<em><!--{$tpl_total_inctax[$key]|number_format}-->円</em>」です。 90 <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> 91 <!--{if $arrInfo.free_rule > 0}--> 92 <!--{if !$arrData[$key].is_deliv_free}--> 93 あと「<em><!--{$tpl_deliv_free[$key]|number_format}-->円</em>」で送料無料です!! 94 <!--{else}--> 95 現在、「<em>送料無料</em>」です!! 96 <!--{/if}--> 97 <!--{/if}--> 98 <!--{/if}--> 99 </p> 100 <!--{/if}--> 101 <table summary="商品情報"> 102 <tr> 103 <th>商品写真</th> 104 <th>商品名</th> 105 <th>数量</th> 106 <th>小計</th> 107 </tr> 108 <!--{foreach from=$cartItems[$key] item=item}--> 109 <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"> 110 <td class="phototd"> 111 <a 112 <!--{if $item.productsClass.main_image|strlen >= 1}--> 113 href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" 114 class="expansion" 115 target="_blank" 116 <!--{/if}--> 117 > 118 <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=40&height=40" alt="<!--{$item.productsClass.name|h}-->" /></a><br /> 119 <a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a> 120 </td> 121 <td class="detailtdName"><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br /> 122 <!--{if $item.productsClass.classcategory_name1 != ""}--> 123 <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br /> 124 <!--{/if}--> 125 <!--{if $item.productsClass.classcategory_name2 != ""}--> 126 <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--><br /> 127 <!--{/if}--> 128 価格:<!--{$item.price|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 129 130 131 </td> 132 <td class="detailtdPM"><!--{$item.quantity}--> 133 <br /> 134 <ul id="quantity_level"> 135 <li><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'up','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.gif" width="16" height="16" alt="+" /></a></li> 136 <li><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.gif" width="16" height="16" alt="-" /></a></li> 137 </ul></td> 138 <td class="detailtdYenT"><!--{$item.total_inctax|number_format}-->円</td> 139 </tr> 140 <!--{/foreach}--> 141 <tr> 142 <th colspan="3" class="resulttd">小計</th> 143 <td colspan="2" class="alignR"><!--{$tpl_total_inctax[$key]|number_format}-->円</td> 144 </tr> 145 <tr> 146 <th colspan="3" class="resulttd">合計</th> 147 <td colspan="2" class="alignR"><em><!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}-->円</em></td> 148 </tr> 149 <!--{if $smarty.const.USE_POINT !== false}--> 150 <!--{if $arrData[$key].birth_point > 0}--> 151 <tr> 152 <th colspan="3" class="resulttd">お誕生月ポイント</th> 153 <td colspan="2" class="alignR"><!--{$arrData[$key].birth_point|number_format}-->pt</td> 154 </tr> 155 <!--{/if}--> 156 <tr> 157 <th colspan="3" class="resulttd">今回加算ポイント</th> 158 <td colspan="2" class="alignR"><!--{$arrData[$key].add_point|number_format}-->pt</td> 159 </tr> 160 <!--{/if}--> 161 </table> 162 <div class="tblareabtn"> 163 <!--{if strlen($tpl_error) == 0}--> 164 <p>上記内容でよろしければ「購入手続きへ」ボタンをクリックしてください。</p> 92 <form name="form1" id="form1" method="post" action="<!--{$smarty.const.CART_URLPATH|h}-->"> 93 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 94 <!--{if 'sfGMOCartDisplay'|function_exists}--> 95 <!--{'sfGMOCartDisplay'|call_user_func}--> 165 96 <!--{/if}--> 166 97 98 <input type="hidden" name="mode" value="confirm" /> 99 <input type="hidden" name="cart_no" value="" /> 100 <input type="hidden" name="cartKey" value="<!--{$key}-->" /> 101 102 <div class="formBox"> 167 103 168 <!--{if strlen($tpl_error) == 0}--> 169 <p> 170 <input type="hidden" name="cartKey" value="<!--{$key}-->" /> 171 <input type="submit" value="購入手続きへ" class="spbtn spbtn-shopping" width="130" height="30" alt="購入手続きへ" name="confirm" /> 172 </p> 104 <!--{if count($cartKeys) > 1}--> 105 <div class="box_header"> 106 <h3><!--{$arrProductType[$key]}--></h3> 107 </div> 108 <div class="totalmoney_area"> 109 <!--{$arrProductType[$key]}-->の合計金額は「<span class="price"><!--{$tpl_total_inctax[$key]|number_format}-->円</span>」です。 110 </div> 111 <!--{else}--> 112 <div class="totalmoney_area"> 113 お買い上げ商品の合計金額は「<span class="price"><!--{$tpl_total_inctax[$key]|number_format}-->円</span>」です。 114 </div> 173 115 <!--{/if}--> 174 <!--{if $tpl_prev_url != ""}--> 175 <p><a href="<!--{$tpl_prev_url|h}-->" class="spbtn spbtn-medeum">買い物を続ける</a></p> 116 117 <!--▼カートの中の商品一覧 --> 118 <div class="cartinarea clearfix"> 119 <!--{foreach from=$cartItems[$key] item=item}--> 120 <!--▼商品 --> 121 <div class="cartitemBox"> 122 <!--{if $item.productsClass.main_image|strlen >= 1}--> 123 <a rel="external" href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" target="_blank"> 124 <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$item.productsClass.name|h}-->" class="photoL" /></a> 125 <!--{else}--> 126 <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$item.productsClass.name|h}-->" class="photoL" /> 127 <!--{/if}--> 128 <div class="cartinContents"> 129 130 <p><em><!--{$item.productsClass.name|h}--></em><br /> 131 <!--{if $item.productsClass.classcategory_name1 != ""}--> 132 <span class="mini"><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></span><br /> 133 <!--{/if}--> 134 <!--{if $item.productsClass.classcategory_name2 != ""}--> 135 <span class="mini"><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></span><br /> 136 <!--{/if}--> 137 </p> 138 <p class="btn_delete"> 139 <img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" onclick="fnModeSubmit('delete', 'cart_no', '<!--{$item.cart_no}-->');" class="pointer" width="21" height="20" alt="削除" /></p> 140 141 <ul> 142 <li><input type="number" name="quantity" class="cartin_quantity text data-role-none" value="<!--{$item.quantity}-->" maxlength="9" style="" onchange="fnModeSubmit('setQuantity','cart_no','<!--{$item.cart_no}-->');" /></li> 143 <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li> 144 </ul> 145 </div> 146 147 </div> 148 <!--▲商品 --> 149 <!--{/foreach}--> 150 </div> 151 <!--▲カートの中の商品一覧ここまで --> 152 153 <div class="total_area"> 154 <p><span class="mini">合計:</span><span class="price fb"><!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}--> 円</span></p> 155 <!--{if $smarty.const.USE_POINT !== false}--> 156 <!--{if $arrData[$key].birth_point > 0}--> 157 <p><span class="mini">お誕生月ポイント:</span> <!--{$arrData[$key].birth_point|number_format}--> Pt</p> 176 158 <!--{/if}--> 177 178 </div> 179 </form> 180 <!--{/foreach}--> 159 <p><span class="mini">今回加算ポイント:</span> <!--{$arrData[$key].add_point|number_format}--> Pt</p> 160 <!--{/if}--> 161 </div> 162 <!--{if strlen($tpl_error) == 0}--> 163 <div class="btn_area_btm"> 164 <input type="hidden" name="cartKey" value="<!--{$key}-->" /> 165 <input type="submit" value="ご購入手続きへ" alt="ご購入手続きへ" name="confirm" class="btn data-role-none" /> 166 </div> 167 <!--{/if}--> 168 </div><!--▲formBox --> 169 </form> 170 <!--{/foreach}--> 181 171 <!--{else}--> 182 172 <p class="empty"><em>※ 現在カート内に商品はございません。</em></p> 183 173 <!--{/if}--> 184 <!--▲CONTENTS--> 174 175 <p><a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->" class="btn_sub">お買い物を続ける</a></p> 176 177 </div><!--▲form_area --> 178 179 </section> 180 <!--▲コンテンツここまで -->
Note: See TracChangeset
for help on using the changeset viewer.