상품수정 때 삭제된 상품인 경우 알림 추가

This commit is contained in:
chicpro
2014-10-31 16:36:01 +09:00
parent 75490c8767
commit 860ff89604

View File

@ -48,6 +48,9 @@ else if ($w == "u")
$sql = " select * from {$g5['g5_shop_item_table']} where it_id = '$it_id' ";
$it = sql_fetch($sql);
if(!$it)
alert('상품정보가 존재하지 않습니다.');
if (!$ca_id)
$ca_id = $it['ca_id'];