본인 성인인증 체크 함수 shop_member_cert_check 추가

This commit is contained in:
chicpro
2013-11-28 17:39:44 +09:00
parent 603262c47a
commit 3451953034
6 changed files with 95 additions and 60 deletions

View File

@ -11,6 +11,13 @@ $it = sql_fetch($sql);
if(!$it['it_id'])
alert('상품정보가 존재하지 않습니다.', G5_SHOP_URL);
// 본인인증, 성인인증체크
if(!$is_admin) {
$msg = shop_member_cert_check($it_id, 'item');
if($msg)
alert($msg, G5_SHOP_URL);
}
if(is_soldout($it['it_id']))
alert('상품의 재고가 부족하여 구매할 수 없습니다.', G5_SHOP_URL);