#190 비회원 장바구니 기능 추가
This commit is contained in:
@ -55,8 +55,12 @@ $sql = " select a.ct_id,
|
||||
b.ca_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 ";
|
||||
and a.ct_num = '0' ";
|
||||
if($default['de_cart_keep_term']) {
|
||||
$ctime = date('Y-m-d H:i:s', G4_SERVER_TIME - ($default['de_cart_keep_term'] * 86400));
|
||||
$sql .= " and a.ct_time > '$ctime' ";
|
||||
}
|
||||
$sql .= " order by a.ct_id ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
$good_info = '';
|
||||
|
||||
Reference in New Issue
Block a user