영카트 orderformupdate.php 에서 상품명
본문
sms로 상품명도 보내려고 하는데요
it_name 을 가져올 수 있는 방법을 모르겠습니다.
답변 1
문자 보내는 위에 부분에
/shop/ordermail2.inc.php 보시면
$sql = " select a.it_id,
a.it_name,
a.ct_qty,
a.ct_price,
a.ct_point,
b.it_sell_email,
b.it_origin
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 = '$od_id'
and a.ct_select = '1'
group by a.it_id
order by a.ct_id asc ";
$result = sql_query($sql);
쿼리문 있습니다 필요한것만 찾아서 쓰시면 되실듯 합니다
답변을 작성하시기 전에 로그인 해주세요.