- Timestamp:
- 2008/07/03 16:30:08 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/products/LC_Page_Products_Detail.php
r17333 r17401 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 * 商品詳細 のページクラス. … … 167 170 $classcategory_id2 = $_POST['classcategory_id2']; 168 171 172 if (!empty($_POST['gmo_oneclick'])) { 173 $objCartSess->delAllProducts(); 174 } 175 169 176 // 規格1が設定されていない場合 170 177 if(!$this->tpl_classcat_find1) { … … 179 186 $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 180 187 $objCartSess->addProduct(array($_POST['product_id'], $classcategory_id1, $classcategory_id2), $this->objFormParam->getValue('quantity')); 188 189 if (!empty($_POST['gmo_oneclick'])) { 190 $objSiteSess = new SC_SiteSession; 191 $objSiteSess->setRegistFlag(); 192 $objCartSess->saveCurrentCart($objSiteSess->getUniqId()); 193 194 $this->sendRedirect($this->getLocation( 195 URL_DIR . 'user_data/gmopg_oneclick_confirm.php', array(), true)); 196 exit; 197 } 198 181 199 $this->sendRedirect($this->getLocation(URL_CART_TOP)); 182 200 exit;
Note: See TracChangeset
for help on using the changeset viewer.