영카트 관련해서 질문드립니다. 채택완료

장바구니에 모델명도 같이 노출하고싶습니다.

상품명 / 모델명 이렇게요.

가르쳐 주시면 대단히 감사하겠습니다. 꾸벅

답변 1개

채택된 답변
+20 포인트

cart.php 먼저 105라인에 

$it_name = $a1 . stripslashes($row['it_name']) . $a2;

를 

$it_name = $a1 . stripslashes($row['it_name']) . $a2 ."/{$row[it_model]}";



 에 66 라인에 

$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

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' ";


모텔을 추가해 줍니다 


$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_model

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' ";


비슷한 구조로 orderform.sub.php 를 찾으시면 되시고요

orderinquiryview.php 결과 페이지에서는 직접 {$g5['g5_shop_item_table']}

에서 가져 오셔야 합니다 

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

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

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

로그인
🐛 버그신고