From e0f46f15e9d9358878befd8a6b067551938964ec Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 30 May 2013 18:29:10 +0900 Subject: [PATCH] =?UTF-8?q?ct=5Forder=20=ED=95=84=EB=93=9C=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/shop.extend2.php | 8 -------- mobile/shop/cartsub.inc.php | 2 +- shop/cartsub.inc.php | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/extend/shop.extend2.php b/extend/shop.extend2.php index 1c4bcd94c..71f3edacd 100644 --- a/extend/shop.extend2.php +++ b/extend/shop.extend2.php @@ -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); diff --git a/mobile/shop/cartsub.inc.php b/mobile/shop/cartsub.inc.php index 122f4edc0..76ac281b6 100644 --- a/mobile/shop/cartsub.inc.php +++ b/mobile/shop/cartsub.inc.php @@ -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 = ''; diff --git a/shop/cartsub.inc.php b/shop/cartsub.inc.php index 6818bdca3..a53865dc1 100644 --- a/shop/cartsub.inc.php +++ b/shop/cartsub.inc.php @@ -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 = '';