관련상품이미지 출력 코드 수정 및 관련상품 정렬순서 필드 추가

This commit is contained in:
chicpro
2013-05-16 16:26:03 +09:00
parent 60a5d6dc58
commit a6701d1f95
5 changed files with 44 additions and 31 deletions

View File

@ -823,6 +823,7 @@ function display_relation_item($it_id, $width, $height, $rows=3)
$sql = " select b.it_id, b.it_name, b.it_price, b.it_tel_inq, b.it_gallery
from {$g4['shop_item_relation_table']} a left join {$g4['shop_item_table']} b on ( a.it_id2 = b.it_id )
where a.it_id = '$it_id'
order by ir_no asc
limit 0, $rows ";
$result = sql_query($sql);