#209 모바일 쇼핑몰 쿠폰 기능 추가
This commit is contained in:
@ -1161,6 +1161,20 @@ function array_add_callback($func, $array)
|
||||
|
||||
return $array;
|
||||
}
|
||||
|
||||
// 상품포인트
|
||||
function get_item_point($it)
|
||||
{
|
||||
$it_point = 0;
|
||||
|
||||
if($it['it_point_type']) {
|
||||
$it_point = floor(($it['it_price'] * ($it['it_point'] / 100) / 10)) * 10;
|
||||
} else {
|
||||
$it_point = $it['it_point'];
|
||||
}
|
||||
|
||||
return $it_point;
|
||||
}
|
||||
//==============================================================================
|
||||
// 쇼핑몰 함수 모음 끝
|
||||
//==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user