영카트 주문 처리에서요 주문후 . 입금 진행하면

영카트 주문 처리에서요 주문후 . 입금 진행하면

QA

영카트 주문 처리에서요 주문후 . 입금 진행하면

본문

안녕하세요

영카트 주문 처리에서요  주문후 . 입금 진행하면 주문한 분들한테만.

준비 " 로 보여지게 하고싶습니다.

 

관리자에서는 주문->입금->준비->배송->완료 

변화없이요 ! 단순하게. 주문후 입금(결제) 했을시 보여지기만 준비 로 보여지고싶어요
어디를 어떻게손봐야할까요 ?ㅠㅠ

이 질문에 댓글 쓰기 :

답변 1

주문목록 페이지는 /shop/orderinquiry.sub.php 파일에서 스위치문 switch($row['od_status']) { 이걸로 찾아서 아래 case 중에서 입금을 준비로 바꾸시면 되겠네요. 

case '입금':

     $od_status = '<span class="status_03">준비중</span>';

     break;

 

 

주문상세 페이지는 /shop/orderinquiryview.php 파일에서 <td></td>안에 $opt['ct_status'] 변수 있는부분 찾아서

$opt['ct_status']=='입금'?'준비':$opt['ct_status'] 로 바꿔주세요.

주문 목록 페이지 까지는 정상적으로 진행했습니다.
근데 상세페이지 에서 막히네요..ㅠㅠ 어느부분인지 확인이 안됩니다 ㅠㅠ


            <tr>
                <td rowspan="<?php echo $rowspan; ?>" class="td_imgsmall"><?php echo $image; ?></td>
                <td headers="th_itname" colspan="7" class="td_bdno"><a href="./item.php?it_id=<?php echo $row['it_id']; ?>"><?php echo $row['it_name']; ?></a></td>
            </tr>
            <?php } ?>
            <tr>
                <td headers="th_itopt" class="td_bdno"><?php echo get_text($opt['ct_option']); ?></td>
                <td headers="th_itqty" class="td_mngsmall"><?php echo number_format($opt['ct_qty']); ?></td>
                <td headers="th_itprice" class="td_numbig text_right"><?php echo number_format($opt_price); ?></td>
                <td headers="th_itsum" class="td_numbig text_right"><?php echo number_format($sell_price); ?></td>
                <td headers="th_itpt" class="td_numbig text_right"><?php echo number_format($point); ?></td>
                <td headers="th_itsd" class="td_dvr"><?php echo $ct_send_cost; ?></td>
                <td headers="th_itst" class="td_mngsmall"><?php echo $opt['ct_status']; ?></td>
            </tr>
            <?php
                    $tot_point      += $point;

                    $st_count1++;
                    if($opt['ct_status'] == '주문')
                        $st_count2++;
                }
            }

            // 주문 상품의 상태가 모두 주문이면 고객 취소 가능
            if($st_count1 > 0 && $st_count1 == $st_count2)
                $custom_cancel = true;
            ?>
            </tbody>
            </table>

<td headers="th_itst" class="td_mngsmall"><?php echo $opt['ct_status']; ?></td>
여기를
<td headers="th_itst" class="td_mngsmall"><?php echo $opt['ct_status']=='입금'?'준비':$opt['ct_status']  ?></td>
이러케요

안녕하세요 상품준비 로는 잘적용했습니다.
근데 여기서 관리자 가 준비 로 전환됬을때 는 . 주문자 한테는 . 상품포장 이런식으로 보여지고싶습니다. /shop/orderinquiry.sub.php 여기는 텍스트만 봐꾸면되서 잘적용했는데
 /shop/orderinquiryview.php 이쪽을 어떻게 해야할지모르겠습니다.ㅠㅠ

답변을 작성하시기 전에 로그인 해주세요.
전체 128
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT