장바구니 업데이트시 옵션테이블에서 사용함으로 설정한 옵션만 업데이트 되도록 수정

This commit is contained in:
thisgun
2018-04-19 17:31:51 +09:00
parent b4de423fb3
commit 6ec7f461f8

View File

@ -177,7 +177,7 @@ else // 장바구니에 담기
// 옵션정보를 얻어서 배열에 저장
$opt_list = array();
$sql = " select * from {$g5['g5_shop_item_option_table']} where it_id = '$it_id' order by io_no asc ";
$sql = " select * from {$g5['g5_shop_item_option_table']} where it_id = '$it_id' and io_use = 1 order by io_no asc ";
$result = sql_query($sql);
$lst_count = 0;
for($k=0; $row=sql_fetch_array($result); $k++) {