Changeset 18278 for branches/comu-ver2/data/class/SC_Product.php
- Timestamp:
- 2009/09/02 22:55:50 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/SC_Product.php
r18277 r18278 130 130 $classCategories[$productsClass1][$productsClass2]['point'] 131 131 = SC_Utils_Ex::sfPrePoint($productsClass['price02'], $productsClass['point_rate']); 132 133 // 商品コード 134 $classCategories[$productsClass1][$productsClass2]['product_code'] = $productsClass['product_code']; 132 135 } 133 136 … … 149 152 // 商品規格取得 150 153 $objQuery = new SC_Query(); 151 $col = "product_id, classcategory_id1, classcategory_id2, class_id1, class_id2, stock, stock_unlimited, price01, price02, point_rate";152 $table = "vw_product_class AS prdcls";154 $col = 'product_id, classcategory_id1, classcategory_id2, class_id1, class_id2, stock, stock_unlimited, price01, price02, point_rate, product_code'; 155 $table = 'vw_product_class AS prdcls'; 153 156 $where = 'product_id IN (' . implode(', ', array_pad(array(), count($arrProductId), '?')) . ')'; 154 157 $objQuery->setorder("product_id, rank1 DESC, rank2 DESC");
Note: See TracChangeset
for help on using the changeset viewer.