테스트 사이트 - 개발 중인 베타 버전입니다

상품목록에서 브랜드나 제조사같은거 띄우고싶은데 ㅠㅠ막히네요.. 채택완료

비코즈 4년 전 조회 1,762

어찌어찌하여 'it_brand'가 브랜드라는것을 알았는데요.

이를 어떻게 입력시켜야지 상품목록에 나오는지 모르겠어서 질문을 올려봅니다 ㅠㅠ

www\shop\list.php를 찾아가서 상품목록 수정중 질문입니다..

 

</p>

<pre>
$list = new item_list($skin_file, $ca['ca_list_mod'], $ca['ca_list_row'], $ca['ca_img_width'], $ca['ca_img_height'],$ca['ca_img_height']);
$list->set_category($ca['ca_id'], 1);
$list->set_category($ca['ca_id'], 2);
$list->set_category($ca['ca_id'], 3);
$list->set_is_page(true);
$list->set_order_by($order_by);
$list->set_from_record($from_record);
$list->set_view('it_img', true);
$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);</pre>

<p>

 

맨 아래에.. 

$list->set_view('it_brand', true);를 입력하면 될줄알았는데 안돼서 맨붕이 옵니다 ㅠㅠ

브랜드를 장바구니나 구매내역 등에 전부 입력해야하는데..

존방법이 없을까요 ㅠ 고수님들 초보좀 구원해주세용ㅎㅎ

 

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

답변 1개

채택된 답변
+20 포인트

skin/shop/basic/"list.10.skin.php"

 

그냥 적당한 곳에

echo $row['it_brand'];

를 사용하시면 됩니다.

 

 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 3개

비코즈
4년 전
뒤늦게발견했어요 ㅎㅎ 너무 늦은시간에 감사합니다 ^^ 복받으실거예용ㅎㅎ
비코즈
4년 전
저기 혹시 한개만 더 여쭤봐도될까요
이거 브랜드는 나오는데 이 해당 브랜드 제품들만 보게끔은 영카트에서 지원안하고있나용 ㅠ
엑스엠엘
4년 전
검색하는 것이라면
프로그램을 조금 손을 봐야 합니다.

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

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

로그인