포인트지급 기준금액 및 추가옵션 지급 포인트 설정 추가

This commit is contained in:
chicpro
2014-03-11 15:53:55 +09:00
parent 35318b54bf
commit d36a5a3fc1
12 changed files with 81 additions and 34 deletions

View File

@ -45,7 +45,6 @@ include_once(G5_MSHOP_PATH.'/_head.php');
if ($row['it_tel_inq']) $out_cd = 'tel_inq';
$image = get_it_image($row['it_id'], 50, 50);
$it_point = get_item_point($row);
?>
<tr>

View File

@ -138,9 +138,13 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
<th scope="row"><label for="disp_point">포인트</label></th>
<td>
<?php
$it_point = get_item_point($it);
echo number_format($it_point);
?> 점
if($it['it_point_type'] == 2) {
echo '구매금액(추가옵션 제외)의 '.$it['it_point'].'%';
} else {
$it_point = get_item_point($it);
echo number_format($it_point).'점';
}
?>
</td>
</tr>
<?php } ?>