주문서작성 페이지에 it_maker 추가하는 방법
본문
주문서작성 페이지(orderfrom.sub.php)에 it_maker를 추가 하고 싶은데 어떻게 할까요..?
// $s_cart_id 로 현재 장바구니 자료 쿼리
$sql = " select a.ct_id,
a.it_id,
a.it_name,
a.ct_price,
a.ct_point,
a.ct_qty,
a.ct_status,
a.ct_send_cost,
a.it_sc_type,
b.ca_id,
b.ca_id2,
b.ca_id3,
b.it_notax
from {$g5['g5_shop_cart_table']} a left join {$g5['g5_shop_item_table']} b on ( a.it_id = b.it_id )
where a.od_id = '$s_cart_id'
and a.ct_select = '1' ";
여기에 넣어봤는데 장바구니가 비었습니다. 라는 안내창이 나오는데 어떻게 하나요?ㅜㅜ
!-->답변 1
$sql = " select a.ct_id, a.it_id, a.it_name, a.ct_price, a.ct_point, a.ct_qty, a.ct_status, a.ct_send_cost, a.it_sc_type, b.ca_id, b.ca_id2, b.ca_id3, b.it_notax, b.it_maker from {$g5['g5_shop_cart_table']} a left join {$g5['g5_shop_item_table']} b on ( a.it_id = b.it_id ) where a.od_id = '$s_cart_id' and a.ct_select = '1' ";
답변을 작성하시기 전에 로그인 해주세요.