Ignore:
Timestamp:
2010/09/27 11:49:29 (11 years ago)
Author:
eccuore
Message:

#792(ダウンロード販売機能) vw_download_class削除、product_class_id対応(規格構成変更と並行作業中なので、作業途中の部分有)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Complete.php

    r18820 r18824  
    544544                $sqlval['order_id'] = $order_id; 
    545545                $sqlval['product_id'] = $arrCart[$i]['id'][0]; 
    546                 $sqlval['classcategory_id1'] = $arrCart[$i]['id'][1]; 
    547                 $sqlval['classcategory_id2'] = $arrCart[$i]['id'][2]; 
     546                $sqlval['product_class_id'] = $arrCart[$i]['id'][1]; 
     547                $sqlval['classcategory_id1'] = $arrCart[$i]['id'][2]; 
     548                $sqlval['classcategory_id2'] = $arrCart[$i]['id'][3]; 
    548549                $sqlval['product_name'] = $arrData['name']; 
    549550                $sqlval['product_code'] = $arrData['product_code']; 
     
    675676        $objProduct = new SC_Product(); 
    676677        $productsClass = $objProduct->getProductsClassFullByProductId($arrID[0]); 
    677      
     678 
    678679        foreach ($productsClass as $val) { 
    679             if ($val['classcategory_id1'] == $arrID[1] 
    680                 && $val['classcategory_id2'] == $arrID[2]) { 
     680            if ($val['classcategory_id1'] == $arrID[2] 
     681                && $val['classcategory_id2'] == $arrID[3]) { 
    681682 
    682683                if (($val['stock_unlimited'] != '1' && $val['stock'] < $quantity) || $quantity == 0) { 
Note: See TracChangeset for help on using the changeset viewer.