답변 1개 / 댓글 1개
채택된 답변
+20 포인트
shop_admin/itemformupdate.php 파일에서 아래 코드를 주석처리 해보세요.
Copy
// 관련상품의 반대도 삭제
sql_query(" delete from {$g5['g5_shop_item_relation_table']} where it_id2 = '$it_id' ");
Copy
// 관련상품의 반대로도 등록
$sql = " insert into {$g5['g5_shop_item_relation_table']}
set it_id = '$it_id2[$i]',
it_id2 = '$it_id',
ir_no = '$i' ";
sql_query($sql, false);
답변을 작성하려면 로그인이 필요합니다.