diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index 23bf667b4..fd0a6c83c 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -488,7 +488,8 @@ require_once(G5_MSHOP_PATH.'/'.$default['de_pg_service'].'/orderform.1.php'); where mb_id IN ( '{$member['mb_id']}', '전체회원' ) and cp_method = '3' and cp_start <= '".G5_TIME_YMD."' - and cp_end >= '".G5_TIME_YMD."' "; + and cp_end >= '".G5_TIME_YMD."' + and cp_minimum <= '$tot_sell_price' "; $res = sql_query($sql); for($k=0; $cp=sql_fetch_array($res); $k++) { diff --git a/shop/orderform.php b/shop/orderform.php index 6dbda2e78..6685a7ca8 100644 --- a/shop/orderform.php +++ b/shop/orderform.php @@ -513,7 +513,8 @@ require_once('./'.$default['de_pg_service'].'/orderform.1.php'); where mb_id IN ( '{$member['mb_id']}', '전체회원' ) and cp_method = '3' and cp_start <= '".G5_TIME_YMD."' - and cp_end >= '".G5_TIME_YMD."' "; + and cp_end >= '".G5_TIME_YMD."' + and cp_minimum <= '$tot_sell_price' "; $res = sql_query($sql); for($k=0; $cp=sql_fetch_array($res); $k++) {