분류 및 상품관리에 쿠폰적용안함 설정 추가
This commit is contained in:
@ -23,14 +23,14 @@ include_once(G5_PATH.'/head.sub.php');
|
||||
|
||||
if($_GET['sch_target'] == 1) {
|
||||
$sql_common = " from {$g5['g5_shop_category_table']} ";
|
||||
$sql_where = " where ca_use = '1' ";
|
||||
$sql_where = " where ca_use = '1' and ca_nocoupon = '0' ";
|
||||
if($_GET['sch_word'])
|
||||
$sql_where .= " and ca_name like '%$sch_word%' ";
|
||||
$sql_select = " select ca_id as t_id, ca_name as t_name ";
|
||||
$sql_order = " order by ca_name ";
|
||||
} else {
|
||||
$sql_common = " from {$g5['g5_shop_item_table']} ";
|
||||
$sql_where = " where it_use = '1' ";
|
||||
$sql_where = " where it_use = '1' and it_nocoupon = '0' ";
|
||||
if($_GET['sch_word'])
|
||||
$sql_where .= " and it_name like '%$sch_word%' ";
|
||||
$sql_select = " select it_id as t_id, it_name as t_name ";
|
||||
|
||||
Reference in New Issue
Block a user