Changeset 20697


Ignore:
Timestamp:
2011/03/17 23:25:50 (10 years ago)
Author:
nanasess
bzr:base-revision:
svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_5-dev:20696
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/class/helper/SC_Helper_Purchase.php sc_helper_purchase.p-20101020100530-jyaoa7ch9pdfjqzp-1
data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php 16093@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fmypage%2FLC_Page_Mypage_DeliveryAddr.php
bzr:mapping-version:
v4
bzr:merge:

ohkouchi@loop-az.jp-20110317142431-7kiukpsp388ya3h5
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20110317142547-04vjlme99wbc31fz
bzr:revno:
3415
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:text-revisions:

data/class/helper/SC_Helper_Purchase.php ohkouchi@loop-az.jp-20110317142431-7kiukpsp388ya3h5
data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php ohkouchi@loop-az.jp-20110317142431-7kiukpsp388ya3h5
bzr:timestamp:
2011-03-17 23:25:47.127000093 +0900
bzr:user-agent:
bzr2.2.1+bzr-svn1.0.4
svn:original-date:
2011-03-17T14:25:47.127000Z
Message:

#1167 (非会員購入時, 複数お届け先の住所追加ができない)

Location:
branches/version-2_5-dev/data/class
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Purchase.php

    r20670 r20697  
    545545        $objQuery->delete($table, $where, array($order_id)); 
    546546 
    547          foreach ($arrParams as $arrShipping) { 
     547         foreach ($arrParams as $key => $arrShipping) { 
    548548 
    549549            $arrValues = $objQuery->extractOnlyColsOf($table, $arrShipping); 
     
    558558            } 
    559559 
     560            // 非会員購入の場合は shipping_id が存在しない 
     561            if (!isset($arrValues['shipping_id'])) { 
     562                $arrValues['shipping_id'] = $key; 
     563            } 
    560564            $arrValues['order_id'] = $order_id; 
    561565            $arrValues['create_date'] = 'Now()'; 
  • branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php

    r20580 r20697  
    129129                break; 
    130130            case 'multiple': 
    131                 // 複数配送先用 
     131                // 複数配送先用 
    132132                break; 
    133133            default : 
     
    215215    function lfRegistDataNonMember($objFormParam) { 
    216216        $arrRegistColumn = $objFormParam->getDbArray(); 
    217  
    218         foreach ($arrRegistColumn as $data) { 
    219             $arrRegist['shipping_' . $data['column'] ] = $array[ $data['column'] ]; 
    220         } 
    221         if (count($shipping) >= DELIV_ADDR_MAX) { 
     217        foreach ($arrRegistColumn as $key => $val) { 
     218            $arrRegist['shipping_' . $key ] = $val; 
     219        } 
     220        if (count($_SESSION['shipping']) >= DELIV_ADDR_MAX) { 
    222221            SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, "", false, '別のお届け先最大登録数に達しています。'); 
    223222        } else { 
Note: See TracChangeset for help on using the changeset viewer.