#209 모바일 쇼핑몰 쿠폰 기능 추가

This commit is contained in:
chicpro
2013-06-10 18:50:08 +09:00
parent 0247efe01e
commit 82dd70e594
11 changed files with 1093 additions and 104 deletions

View File

@ -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;
}
//==============================================================================
// 쇼핑몰 함수 모음 끝
//==============================================================================