From e09608894a5c055b80e38b6b7e7bdecb03c4b450 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Wed, 7 Aug 2013 11:45:47 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EB=90=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cartupdate.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/shop/cartupdate.php b/shop/cartupdate.php index d6bd4169a..75fa2e4c2 100644 --- a/shop/cartupdate.php +++ b/shop/cartupdate.php @@ -46,13 +46,6 @@ if($act == "buy") else goto_url(G4_BBS_URL.'/login.php?url='.urlencode(G4_SHOP_URL.'/orderform.php')); } -else if ($act == "d") // 삭제이면 -{ - $sql = " delete from {$g4['shop_cart_table']} - where ct_id = '$ct_id' - and uq_id = '$tmp_uq_id' "; - sql_query($sql); -} else if ($act == "alldelete") // 모두 삭제이면 { $sql = " delete from {$g4['shop_cart_table']} @@ -170,6 +163,7 @@ else // 장바구니에 담기 else $ct_num = 0; + // 바로구매일 경우 장바구니가 체크된것으로 강제 설정 if($sw_direct) $ct_select = 1; else