영카트 list.php 질문드립니다
본문
안녕하세요
상품 카테고리를 클릭했을때 상품출력순서를 최근등록순으로 나열하고 싶은데
shop> list.php
it_ 부분을 수정해야하는 것같은데 뭐라고 넣어야할지 모르겠네요ㅠㅠ
도움 부탁드립니다ㅠㅠ
// 상품 출력순서가 있다면
if ($sort != "")
$order_by = $sort.' '.$sortodr.' , it_id, it_id desc';
else
$order_by = 'it_id, it_id desc';
$error = '<p class="sct_noitem">등록된 상품이 없습니다.</p>';
상품 카테고리를 클릭했을때 상품출력순서를 최근등록순으로 나열하고 싶은데
shop> list.php
it_ 부분을 수정해야하는 것같은데 뭐라고 넣어야할지 모르겠네요ㅠㅠ
도움 부탁드립니다ㅠㅠ
// 상품 출력순서가 있다면
if ($sort != "")
$order_by = $sort.' '.$sortodr.' , it_id, it_id desc';
else
$order_by = 'it_id, it_id desc';
$error = '<p class="sct_noitem">등록된 상품이 없습니다.</p>';
답변을 작성하시기 전에 로그인 해주세요.