장바구니 옵션 수정기능 추가 및 옵션 출력 코드 수정
This commit is contained in:
@ -55,7 +55,7 @@ $sql = " select a.ct_id,
|
||||
from {$g4['shop_cart_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id )
|
||||
where a.uq_id = '$s_uq_id'
|
||||
and a.ct_num = '0'
|
||||
order by a.ct_id ";
|
||||
order by a.ct_order, a.ct_id ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
$good_info = '';
|
||||
@ -67,7 +67,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
SUM(ct_point * ct_qty) as point,
|
||||
SUM(ct_qty) as qty
|
||||
from {$g4['shop_cart_table']}
|
||||
where it_id = '{$row['it_id']}' ";
|
||||
where it_id = '{$row['it_id']}'
|
||||
and uq_id = '$s_uq_id' ";
|
||||
$sum = sql_fetch($sql);
|
||||
|
||||
if (!$goods)
|
||||
|
||||
Reference in New Issue
Block a user