답변 1개 / 댓글 4개
채택된 답변
+20 포인트
주문목록 페이지는 /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'] 로 바꿔주세요.
답변에 대한 댓글 4개
답변을 작성하려면 로그인이 필요합니다.
근데 상세페이지 에서 막히네요..ㅠㅠ 어느부분인지 확인이 안됩니다 ㅠㅠ
<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>