상품유형 추가하는 법?

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
상품유형 추가하는 법?

QA

상품유형 추가하는 법?

본문

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

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


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

이 질문에 댓글 쓰기 :

답변을 작성하시기 전에 로그인 해주세요.
전체 124,387 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT