채택완료

상품유형 추가하는 법?

2014-08-29 (금) 11:55:24 4,445

히트상품 같은 상품유형을 몇개 추가하려고 하는데요,

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에

Copy
<?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


이런 에러 메시지가 뜹니다.
어디를 더 손 봐야 하는 걸까요?​

|

답변 1개 / 댓글 1개

채택된 답변
+20 포인트
2014-08-29 (금) 12:11:33
it_type6 이 필드를 생성해 주어야 합니다

답변에 대한 댓글 1개

아....! 정말 감사합니다 ㅠㅠ

답변을 작성하려면 로그인이 필요합니다.