Changeset 22729
- Timestamp:
- 2013/03/13 15:33:56 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_List.php
r22658 r22729 102 102 $objProduct = new SC_Product_Ex(); 103 103 104 $this->arrForm = $_REQUEST; 104 $this->arrForm = $_REQUEST;//時間が無いのでコレで勘弁してください。 tao_s 105 105 //modeの取得 106 106 $this->mode = $this->getMode(); … … 515 515 unset($this->arrProducts['productStatus']); 516 516 $this->tpl_javascript .= 'var productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . ';'; 517 //onloadスクリプトを設定. 在庫ありの商品のみ出力する 518 foreach ($this->arrProducts as $arrProduct) { 519 if ($arrProduct['stock_unlimited_max'] || $arrProduct['stock_max'] > 0) { 520 $js_fnOnLoad .= "fnSetClassCategories(document.product_form{$arrProduct['product_id']});"; 517 if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_PC) { 518 //onloadスクリプトを設定. 在庫ありの商品のみ出力する 519 foreach ($this->arrProducts as $arrProduct) { 520 if ($arrProduct['stock_unlimited_max'] || $arrProduct['stock_max'] > 0) { 521 $js_fnOnLoad .= "fnSetClassCategories(document.product_form{$arrProduct['product_id']});"; 522 } 521 523 } 522 524 }
Note: See TracChangeset
for help on using the changeset viewer.