Changeset 20562 for branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_CategoryList.php
- Timestamp:
- 2011/03/09 14:31:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_CategoryList.php
r20541 r20562 106 106 } 107 107 108 $arrCategory = null; 109 $arrChildren = array(); 108 $arrCategory = null; // 選択されたカテゴリー 109 $arrChildren = array(); // 子カテゴリー 110 110 111 111 $arrAll = SC_Helper_DB_Ex::sfGetCatTree($category_id, $count_check); … … 140 140 // 選択されたカテゴリーに直属の商品がある場合は、子カテゴリーの先頭に追加する。 141 141 if ($arrCategory['product_count'] > $children_product_count) { 142 $arrCategory['product_count'] -= $children_product_count; 143 $arrCategory['has_children'] = false; 142 $arrCategory['product_count'] -= $children_product_count; // 子カテゴリーの商品数を除く。 143 $arrCategory['has_children'] = false; // 商品一覧ページに遷移させるため。 144 144 array_unshift($arrChildren, $arrCategory); 145 145 }
Note: See TracChangeset
for help on using the changeset viewer.