상품유형 추가하는 법?
본문
히트상품 같은 상품유형을 몇개 추가하려고 하는데요,
http://sir.co.kr/qa/?wr_id=30992#answer_31061
여기 적어주신대로 수정을 해봤어요.
de_type6_list_use부터 de_type6_img_height까지 총 6개 필드 추가했고, 타입같은 것도 기존꺼랑 맞춰서 수정했구요.
itemform.php, itemformupdate.php, configformupdate.php, configform.php에도 추가 및 수정을 했고,
마지막으로 index.php에
<?php if($default['de_type6_list_use']) { ?>
<?php } ?>
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=6">시스템 다이어리</a></h2>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 시스템 다이어리 모음</p>
</header>
<?php
$list = new item_list();
$list->set_type(6);
$list->set_view('it_id', false);
$list->set_view('it_name', true);
$list->set_view('it_basic', true);
$list->set_view('it_cust_price', true);
$list->set_view('it_price', true);
$list->set_view('it_icon', true);
$list->set_view('sns', true);
echo $list->run();
?>
</section>
<!-- } 시스템 다이어리 끝 -->
<?php } ?>
이렇게 추가를 했더니
1054 : Unknown column 'it_type6' in 'where clause'
error file : /~iminara/index.php!-->
이런 에러 메시지가 뜹니다.
어디를 더 손 봐야 하는 걸까요?
답변을 작성하시기 전에 로그인 해주세요.