Ignore:
Timestamp:
2013/03/09 18:51:33 (11 years ago)
Author:
tao
Message:

受注周りの情報に国ID追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_13-tax/data/class/helper/SC_Helper_Purchase.php

    r22568 r22640  
    3737    var $arrShippingKey = array( 
    3838        'name01', 'name02', 'kana01', 'kana02', 
    39         'sex', 'zip01', 'zip02', 'pref', 'addr01', 'addr02', 
     39        'sex', 'zip01', 'zip02', 'country_id','pref', 'addr01', 'addr02', 
    4040        'tel01', 'tel02', 'tel03', 'fax01', 'fax02', 'fax03', 
    4141    ); 
     
    289289        } 
    290290        $exists = $this->getOrderTemp($uniqId); 
     291         
     292        //国ID追加 
     293        $sqlval['country_id'] = DEFAULT_COUNTRY_ID; 
     294         
    291295        if (SC_Utils_Ex::isBlank($exists)) { 
    292296            $sqlval['order_temp_id'] = $uniqId; 
     
    466470    function copyFromCustomer(&$dest, &$objCustomer, $prefix = 'order', 
    467471        $keys = array('name01', 'name02', 'kana01', 'kana02', 
    468             'sex', 'zip01', 'zip02', 'pref', 'addr01', 'addr02', 
     472            'sex', 'zip01', 'zip02', 'country_id','pref', 'addr01', 'addr02', 
    469473            'tel01', 'tel02', 'tel03', 'fax01', 'fax02', 'fax03', 
    470474            'job', 'birth', 'email', 
     
    665669            $arrValues['create_date'] = 'CURRENT_TIMESTAMP'; 
    666670            $arrValues['update_date'] = 'CURRENT_TIMESTAMP'; 
     671            //国ID追加 
     672            /*いらないかもしれないんでとりあえずコメントアウト 
     673            $arrValues['shipping_country_id'] = DEFAULT_COUNTRY_ID; 
     674            */ 
     675 
    667676            $objQuery->insert($table, $arrValues); 
    668677        } 
Note: See TracChangeset for help on using the changeset viewer.