Changeset 18824 for branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Complete.php
- Timestamp:
- 2010/09/27 11:49:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Complete.php
r18820 r18824 544 544 $sqlval['order_id'] = $order_id; 545 545 $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]; 548 549 $sqlval['product_name'] = $arrData['name']; 549 550 $sqlval['product_code'] = $arrData['product_code']; … … 675 676 $objProduct = new SC_Product(); 676 677 $productsClass = $objProduct->getProductsClassFullByProductId($arrID[0]); 677 678 678 679 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]) { 681 682 682 683 if (($val['stock_unlimited'] != '1' && $val['stock'] < $quantity) || $quantity == 0) {
Note: See TracChangeset
for help on using the changeset viewer.