주문내역 새창 출력 데이터 상품 이미지 출력 정보
주문내역 새창 출력 데이터 상품 이미지 출력본문
1. 쇼핑몰 현황/기타 - 주문내역 출력
2. 라디오버튼 선택 없이 "출력(새창)" 클릭시 나타나는 주문데이터에 상품 이미지 출력 위함
/adm/shop_admin/orderprintresult.php
1. 4행 부분
include_once('./_common.php');
include_once(G5_LIB_PATH.'/thumbnail.lib.php'); // 위 소스 아래에 한 줄 추가
2. 426행 부분
if ($row2['ct_qty'] >= 2)
{
$fontqty1 = "<strong>";
$fontqty2 = "</strong>";
}
$image = get_it_image($row['it_id'], 50, 50); // 위 소스 아래에 한 줄 추가
3. 348행 부분
<th scope="col">이미지</th> <!-- 아래 소스 위에 한 줄 추가 -->
<th scope="col">상품명(선택사항)</th>
4. 429행 부분
<td class="td_num"><?php echo $image ;?></td> <!-- 아래 소스 위에 한 줄 추가 -->
<td><?php echo $it_name; ?></td>
5. colspan 추가 및 수정
<td colspan='2'>배송비</td>
<td colspan='2'>추가 배송비</td>
<th scope="row" colspan="3">합계</th>
2. 라디오버튼 선택 없이 "출력(새창)" 클릭시 나타나는 주문데이터에 상품 이미지 출력 위함
/adm/shop_admin/orderprintresult.php
1. 4행 부분
include_once('./_common.php');
include_once(G5_LIB_PATH.'/thumbnail.lib.php'); // 위 소스 아래에 한 줄 추가
2. 426행 부분
if ($row2['ct_qty'] >= 2)
{
$fontqty1 = "<strong>";
$fontqty2 = "</strong>";
}
$image = get_it_image($row['it_id'], 50, 50); // 위 소스 아래에 한 줄 추가
3. 348행 부분
<th scope="col">이미지</th> <!-- 아래 소스 위에 한 줄 추가 -->
<th scope="col">상품명(선택사항)</th>
4. 429행 부분
<td class="td_num"><?php echo $image ;?></td> <!-- 아래 소스 위에 한 줄 추가 -->
<td><?php echo $it_name; ?></td>
5. colspan 추가 및 수정
<td colspan='2'>배송비</td>
<td colspan='2'>추가 배송비</td>
<th scope="row" colspan="3">합계</th>
추천
0
0
댓글 0개