Ignore:
Timestamp:
2012/06/08 15:43:42 (12 years ago)
Author:
h_yoshimoto
Message:

#1852 1規格商品をカートに入れると、選択した分類が無視されるバグ修正(モバイル)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php

    r21867 r21899  
    9292     */ 
    9393    function action() { 
    94  
     94//        var_dump($_REQUEST); 
    9595        // 会員クラス 
    9696        $objCustomer = new SC_Customer_Ex(); 
     
    111111        $objProduct = new SC_Product_Ex(); 
    112112        $objProduct->setProductsClassByProductIds(array($product_id)); 
    113  
     113         
    114114        // 規格1クラス名 
    115115        $this->tpl_class_name1 = $objProduct->className1[$product_id]; 
     
    248248                        break; 
    249249                    } 
    250  
     250                     
    251251                case 'selectItem': 
    252252                    $this->arrErr = $this->lfCheckError($this->mode,$this->objFormParam,$this->tpl_classcat_find1,$this->tpl_classcat_find2); 
     
    260260 
    261261                    $value1 = $this->objFormParam->getValue('classcategory_id1'); 
    262                     $value2 = '#' . $this->objFormParam->getValue('classcategory_id2'); 
    263  
     262                     
     263                    // 規格2が設定されている場合. 
     264                    if (SC_Utils_Ex::isBlank($this->objFormParam->getValue('classcategory_id2')) == false){ 
     265                        $value2 = '#' . $this->objFormParam->getValue('classcategory_id2'); 
     266                    } else { 
     267                        $value2 = '#0'; 
     268                    } 
     269                     
    264270                    if (strlen($value1) === 0) { 
    265271                        $value1 = '__unselected'; 
Note: See TracChangeset for help on using the changeset viewer.