Changeset 18312
- Timestamp:
- 2009/09/22 12:05:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php
r18308 r18312 695 695 $existes = false; 696 696 $existes_key = NULL; 697 // 既に同じ商品がないか、確認する 697 698 if (!empty($this->arrForm['product_id']['value'])) { 698 699 foreach ($this->arrForm['product_id']['value'] AS $key=>$val) { 700 // 既に同じ商品がある場合 699 701 if ($val == $product_id && $this->arrForm['product_id']['classcategory_id1'][$key] == $classcategory_id1 && $this->arrForm['product_id']['classcategory_id2'][$key] == $classcategory_id2) { 700 // 既に同じ商品がある場合701 702 $existes = true; 702 703 $existes_key = $key; … … 706 707 707 708 if ($existes) { 708 709 // 既に同じ商品がある場合 709 710 ++$this->arrForm['quantity']['value'][$existes_key]; 710 711 } else { 711 712 // 既に同じ商品がない場合 712 713 $this->lfSetProductData($arrProduct); 713 714 }
Note: See TracChangeset
for help on using the changeset viewer.