ct_order 필드 삭제
This commit is contained in:
@ -84,14 +84,6 @@ if(!$result) {
|
||||
ADD `ct_num` INT(11) NOT NULL DEFAULT '0' AFTER `ct_qty` ", false);
|
||||
}
|
||||
|
||||
// ct_order 추가
|
||||
$sql = " select ct_order from {$g4['shop_cart_table']} limit 1 ";
|
||||
$result = sql_query($sql, false);
|
||||
if(!$result) {
|
||||
sql_query(" ALTER TABLE `{$g4['shop_cart_table']}`
|
||||
ADD `ct_order` INT(11) NOT NULL DEFAULT '0' AFTER `ct_direct` ", false);
|
||||
}
|
||||
|
||||
// it_brand 추가
|
||||
$sql = " select it_brand from {$g4['shop_item_table']} limit 1 ";
|
||||
$result = sql_query($sql, false);
|
||||
|
||||
@ -56,7 +56,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_order, a.ct_id ";
|
||||
order by a.ct_id ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
$good_info = '';
|
||||
|
||||
@ -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_order, a.ct_id ";
|
||||
order by a.ct_id ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
$good_info = '';
|
||||
|
||||
Reference in New Issue
Block a user