#191 모바일 상품상세 포인트 유형 관련 코드 추가
This commit is contained in:
@ -333,8 +333,16 @@ else
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="disp_point">포인트</label></th>
|
<th scope="row"><label for="disp_point">포인트</label></th>
|
||||||
<td>
|
<td>
|
||||||
<?php echo number_format($it['it_point']); ?> 점
|
<?php
|
||||||
<input type="hidden" name="it_point" value="<?php echo $it['it_point']; ?>">
|
if($it['it_point_type']) {
|
||||||
|
$it_point = floor(($it['it_price'] * ($it['it_point'] / 100) / 10)) * 10;
|
||||||
|
} else {
|
||||||
|
$it_point = $it['it_point'];
|
||||||
|
}
|
||||||
|
|
||||||
|
echo number_format($it_point);
|
||||||
|
?> 점
|
||||||
|
<input type="hidden" name="it_point" value="<?php echo $it_point; ?>">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user