Changeset 17891
- Timestamp:
- 2009/03/07 22:13:02 (17 years ago)
- Location:
- branches/comu-ver2/data
- Files:
-
- 7 edited
-
Smarty/templates/default/cart/index.tpl (modified) (1 diff)
-
Smarty/templates/default/detail.tpl (modified) (1 diff)
-
Smarty/templates/default/mypage/change.tpl (modified) (1 diff)
-
class/SC_CartSession.php (modified) (1 diff)
-
class/pages/cart/LC_Page_Cart.php (modified) (1 diff)
-
class/pages/mypage/LC_Page_Mypage_Change.php (modified) (2 diffs)
-
class/pages/products/LC_Page_Products_Detail.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/Smarty/templates/default/cart/index.tpl
r17612 r17891 57 57 58 58 <!--{if count($arrProductsClass) > 0}--> 59 59 60 <form name="form1" id="form1" method="post" action="?"> 61 <!--{if function_exists('sfGMOCartDisplay')}--> 62 <!--{''|sfGMOCartDisplay}--> 63 <!--{/if}--> 64 60 65 <input type="hidden" name="mode" value="confirm" /> 61 66 <input type="hidden" name="cart_no" value="" /> -
branches/comu-ver2/data/Smarty/templates/default/detail.tpl
r17748 r17891 207 207 208 208 <!--{if $tpl_stock_find}--> 209 <p class="btn"> 210 <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login}--> 211 <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> 212 <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}--> 213 <!--{if !$arrProduct.favorite_count}--> 214 <a href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id}-->');">[お気に入りに追加]</a><br /> 215 <!--{else}--> 216 [お気に入り登録済]<br /> 209 <p class="btn"> 210 <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login}--> 211 <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> 212 <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}--> 213 <!--{if !$arrProduct.favorite_count}--> 214 <a href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id}-->');">[お気に入りに追加]</a><br /> 215 <!--{else}--> 216 [お気に入り登録済]<br /> 217 <!--{/if}--> 217 218 <!--{/if}--> 218 <!--{/if}--> 219 <!--★カゴに入れる★--> 220 <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');"> 221 <img src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart" id="cart" /> 222 </a> 223 </p> 219 <!--★カゴに入れる★--> 220 <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');"> 221 <img src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart" id="cart" /> 222 </a> 223 </p> 224 <!--{if function_exists(sfGMODetailDisplay)}--><!--{* GMOワンクリック *}--> 225 <!--{''|sfGMODetailDisplay}--> 226 <!--{/if}--> 224 227 <!--{else}--> 225 228 <div class="attention">申し訳ございませんが、只今品切れ中です。</div> -
branches/comu-ver2/data/Smarty/templates/default/mypage/change.tpl
r17605 r17891 37 37 <!--{include file="`$smarty.const.TEMPLATE_DIR`frontparts/form_personal_input.tpl" flgFields=3 emailMobile=true prefix=""}--> 38 38 </table> 39 39 <!--{if function_exists('sfGMOMypageDisplay')}--> 40 <!--{''|sfGMOMypageDisplay}--> 41 <!--{/if}--> 40 42 <div class="tblareabtn"> 41 43 <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/common/b_confirm_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/common/b_confirm.gif',this)" src="<!--{$TPL_DIR}-->img/common/b_confirm.gif" class="box150" alt="確認ページへ" name="refusal" id="refusal" /> -
branches/comu-ver2/data/class/SC_CartSession.php
r17579 r17891 62 62 $change = false; 63 63 $max = $this->getMax(); 64 for($i = 0; $i <= $max; $i++) {64 for($i = 1; $i <= $max; $i++) { 65 65 if ($_SESSION[$this->key][$i]['quantity'] != $_SESSION[$this->key_tmp][$i]['quantity']) { 66 66 $change = true; -
branches/comu-ver2/data/class/pages/cart/LC_Page_Cart.php
r17863 r17891 24 24 // {{{ requires 25 25 require_once(CLASS_PATH . "pages/LC_Page.php"); 26 if (file_exists(MODULE_PATH . "mdl_gmopg/inc/function.php")) { 27 require_once(MODULE_PATH . "mdl_gmopg/inc/function.php"); 28 } 26 29 27 30 /** -
branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_Change.php
r17795 r17891 24 24 // {{{ requires 25 25 require_once(CLASS_PATH . "pages/LC_Page.php"); 26 27 if (file_exists(MODULE_PATH . "mdl_gmopg/inc/function.php")) { 28 require_once(MODULE_PATH . "mdl_gmopg/inc/function.php"); 29 } 26 30 27 31 /** … … 151 155 break; 152 156 157 case 'gmo_oneclick': 158 sfGMOMypageEdit(); 159 $this->arrForm = $this->lfGetCustomerData(); 160 $this->arrForm['password'] = DEFAULT_PASSWORD; 161 $this->arrForm['password02'] = DEFAULT_PASSWORD; 162 break; 153 163 case 'complete': 154 164 //エラーなしでかつメールアドレスが重複していない場合 -
branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php
r17748 r17891 25 25 require_once(CLASS_PATH . "pages/LC_Page.php"); 26 26 27 if (file_exists(MODULE_PATH . "mdl_gmopg/inc/function.php")) { 28 require_once(MODULE_PATH . "mdl_gmopg/inc/function.php"); 29 } 27 30 /** 28 31 * 商品詳細 のページクラス. … … 181 184 $classcategory_id2 = $_POST['classcategory_id2']; 182 185 186 if (!empty($_POST['gmo_oneclick'])) { 187 $objCartSess->delAllProducts(); 188 } 189 183 190 // 規格1が設定されていない場合 184 191 if(!$this->tpl_classcat_find1) { … … 193 200 $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 194 201 $objCartSess->addProduct(array($_POST['product_id'], $classcategory_id1, $classcategory_id2), $this->objFormParam->getValue('quantity')); 202 203 if (!empty($_POST['gmo_oneclick'])) { 204 $objSiteSess = new SC_SiteSession; 205 $objSiteSess->setRegistFlag(); 206 $objCartSess->saveCurrentCart($objSiteSess->getUniqId()); 207 208 $this->sendRedirect($this->getLocation( 209 URL_DIR . 'user_data/gmopg_oneclick_confirm.php', array(), true)); 210 exit; 211 } 212 195 213 $this->sendRedirect($this->getLocation(URL_CART_TOP)); 196 214 exit;
Note: See TracChangeset
for help on using the changeset viewer.
