diff --git a/adm/shop_admin/configform.php b/adm/shop_admin/configform.php index 85aed7eea..34436baaf 100644 --- a/adm/shop_admin/configform.php +++ b/adm/shop_admin/configform.php @@ -72,6 +72,12 @@ if(!isset($default['de_member_reg_coupon_use'])) { ADD `de_member_reg_coupon_term` int(11) NOT NULL DEFAULT '0' AFTER `de_member_reg_coupon_use`, ADD `de_member_reg_coupon_price` int(11) NOT NULL DEFAULT '0' AFTER `de_member_reg_coupon_term` ", true); } + +// 신규회원 쿠폰 주문 최소금액 필드추가 +if(!isset($default['de_member_reg_coupon_minimum'])) { + sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}` + ADD `de_member_reg_coupon_minimum` int(11) NOT NULL DEFAULT '0' AFTER `de_member_reg_coupon_price` ", true); +} ?>
@@ -1003,6 +1009,8 @@ if(!isset($default['de_member_reg_coupon_use'])) { > 원 + + 원이상 일 diff --git a/adm/shop_admin/configformupdate.php b/adm/shop_admin/configformupdate.php index 7ff4f7545..df8f0a9f3 100644 --- a/adm/shop_admin/configformupdate.php +++ b/adm/shop_admin/configformupdate.php @@ -25,146 +25,147 @@ $de_kcp_mid = substr($_POST['de_kcp_mid'],0,3); // 영카트 default // $sql = " update {$g5['g5_shop_default_table']} - set de_admin_company_owner = '$de_admin_company_owner', - de_admin_company_name = '$de_admin_company_name', - de_admin_company_saupja_no = '$de_admin_company_saupja_no', - de_admin_company_tel = '$de_admin_company_tel', - de_admin_company_fax = '$de_admin_company_fax', - de_admin_tongsin_no = '$de_admin_tongsin_no', - de_admin_company_zip = '$de_admin_company_zip', - de_admin_company_addr = '$de_admin_company_addr', - de_admin_info_name = '$de_admin_info_name', - de_admin_info_email = '$de_admin_info_email', - de_root_index_use = '$de_root_index_use', - de_shop_layout_use = '$de_shop_layout_use', - de_shop_skin = '$de_shop_skin', - de_shop_mobile_skin = '$de_shop_mobile_skin', - de_type1_list_use = '$de_type1_list_use', - de_type1_list_skin = '$de_type1_list_skin', - de_type1_list_mod = '$de_type1_list_mod', - de_type1_list_row = '$de_type1_list_row', - de_type1_img_width = '$de_type1_img_width', - de_type1_img_height = '$de_type1_img_height', - de_type2_list_use = '$de_type2_list_use', - de_type2_list_skin = '$de_type2_list_skin', - de_type2_list_mod = '$de_type2_list_mod', - de_type2_list_row = '$de_type2_list_row', - de_type2_img_width = '$de_type2_img_width', - de_type2_img_height = '$de_type2_img_height', - de_type3_list_use = '$de_type3_list_use', - de_type3_list_skin = '$de_type3_list_skin', - de_type3_list_mod = '$de_type3_list_mod', - de_type3_list_row = '$de_type3_list_row', - de_type3_img_width = '$de_type3_img_width', - de_type3_img_height = '$de_type3_img_height', - de_type4_list_use = '$de_type4_list_use', - de_type4_list_skin = '$de_type4_list_skin', - de_type4_list_mod = '$de_type4_list_mod', - de_type4_list_row = '$de_type4_list_row', - de_type4_img_width = '$de_type4_img_width', - de_type4_img_height = '$de_type4_img_height', - de_type5_list_use = '$de_type5_list_use', - de_type5_list_skin = '$de_type5_list_skin', - de_type5_list_mod = '$de_type5_list_mod', - de_type5_list_row = '$de_type5_list_row', - de_type5_img_width = '$de_type5_img_width', - de_type5_img_height = '$de_type5_img_height', - de_mobile_type1_list_use = '$de_mobile_type1_list_use', - de_mobile_type1_list_skin = '$de_mobile_type1_list_skin', - de_mobile_type1_list_mod = '$de_mobile_type1_list_mod', - de_mobile_type1_img_width = '$de_mobile_type1_img_width', - de_mobile_type1_img_height = '$de_mobile_type1_img_height', - de_mobile_type2_list_use = '$de_mobile_type2_list_use', - de_mobile_type2_list_skin = '$de_mobile_type2_list_skin', - de_mobile_type2_list_mod = '$de_mobile_type2_list_mod', - de_mobile_type2_img_width = '$de_mobile_type2_img_width', - de_mobile_type2_img_height = '$de_mobile_type2_img_height', - de_mobile_type3_list_use = '$de_mobile_type3_list_use', - de_mobile_type3_list_skin = '$de_mobile_type3_list_skin', - de_mobile_type3_list_mod = '$de_mobile_type3_list_mod', - de_mobile_type3_img_width = '$de_mobile_type3_img_width', - de_mobile_type3_img_height = '$de_mobile_type3_img_height', - de_mobile_type4_list_use = '$de_mobile_type4_list_use', - de_mobile_type4_list_skin = '$de_mobile_type4_list_skin', - de_mobile_type4_list_mod = '$de_mobile_type4_list_mod', - de_mobile_type4_img_width = '$de_mobile_type4_img_width', - de_mobile_type4_img_height = '$de_mobile_type4_img_height', - de_mobile_type5_list_use = '$de_mobile_type5_list_use', - de_mobile_type5_list_skin = '$de_mobile_type5_list_skin', - de_mobile_type5_list_mod = '$de_mobile_type5_list_mod', - de_mobile_type5_img_width = '$de_mobile_type5_img_width', - de_mobile_type5_img_height = '$de_mobile_type5_img_height', - de_rel_list_use = '$de_rel_list_use', - de_rel_list_skin = '$de_rel_list_skin', - de_rel_list_mod = '$de_rel_list_mod', - de_rel_img_width = '$de_rel_img_width', - de_rel_img_height = '$de_rel_img_height', - de_mobile_rel_list_use = '$de_mobile_rel_list_use', - de_mobile_rel_list_skin = '$de_mobile_rel_list_skin', - de_mobile_rel_img_width = '$de_mobile_rel_img_width', - de_mobile_rel_img_height = '$de_mobile_rel_img_height', - de_search_list_skin = '$de_search_list_skin', - de_search_list_mod = '$de_search_list_mod', - de_search_list_row = '$de_search_list_row', - de_search_img_width = '$de_search_img_width', - de_search_img_height = '$de_search_img_height', - de_mobile_search_list_skin = '$de_mobile_search_list_skin', - de_mobile_search_list_mod = '$de_mobile_search_list_mod', - de_mobile_search_img_width = '$de_mobile_search_img_width', - de_mobile_search_img_height = '$de_mobile_search_img_height', - de_bank_use = '$de_bank_use', - de_bank_account = '$de_bank_account', - de_card_test = '$de_card_test', - de_card_use = '$de_card_use', - de_card_noint_use = '$de_card_noint_use', - de_card_point = '$de_card_point', - de_settle_min_point = '$de_settle_min_point', - de_settle_max_point = '$de_settle_max_point', - de_settle_point_unit = '$de_settle_point_unit', - de_level_sell = '$de_level_sell', - de_delivery_company = '$de_delivery_company', - de_send_cost_case = '$de_send_cost_case', - de_send_cost_limit = '$de_send_cost_limit', - de_send_cost_list = '$de_send_cost_list', - de_hope_date_use = '$de_hope_date_use', - de_hope_date_after = '$de_hope_date_after', - de_baesong_content = '$de_baesong_content', - de_change_content = '$de_change_content', - de_level_sell = '$de_level_sell', - de_point_days = '$de_point_days', - de_simg_width = '$de_simg_width', - de_simg_height = '$de_simg_height', - de_mimg_width = '$de_mimg_width', - de_mimg_height = '$de_mimg_height', - de_kcp_mid = '$de_kcp_mid', - de_kcp_site_key = '$de_kcp_site_key', - de_iche_use = '$de_iche_use', - de_sms_cont1 = '$de_sms_cont1', - de_sms_cont2 = '$de_sms_cont2', - de_sms_cont3 = '$de_sms_cont3', - de_sms_cont4 = '$de_sms_cont4', - de_sms_cont5 = '$de_sms_cont5', - de_sms_use1 = '$de_sms_use1', - de_sms_use2 = '$de_sms_use2', - de_sms_use3 = '$de_sms_use3', - de_sms_use4 = '$de_sms_use4', - de_sms_use5 = '$de_sms_use5', - de_sms_hp = '$de_sms_hp', - de_item_use_use = '$de_item_use_use', - de_item_use_write = '$de_item_use_write', - de_code_dup_use = '$de_code_dup_use', - de_cart_keep_term = '$de_cart_keep_term', - de_guest_cart_use = '$de_guest_cart_use', - de_admin_buga_no = '$de_admin_buga_no', - de_vbank_use = '$de_vbank_use', - de_taxsave_use = '$de_taxsave_use', - de_guest_privacy = '$de_guest_privacy', - de_hp_use = '$de_hp_use', - de_escrow_use = '$de_escrow_use', - de_tax_flag_use = '$de_tax_flag_use', - de_member_reg_coupon_use = '$de_member_reg_coupon_use', - de_member_reg_coupon_term = '$de_member_reg_coupon_term', - de_member_reg_coupon_price = '$de_member_reg_coupon_price' + set de_admin_company_owner = '$de_admin_company_owner', + de_admin_company_name = '$de_admin_company_name', + de_admin_company_saupja_no = '$de_admin_company_saupja_no', + de_admin_company_tel = '$de_admin_company_tel', + de_admin_company_fax = '$de_admin_company_fax', + de_admin_tongsin_no = '$de_admin_tongsin_no', + de_admin_company_zip = '$de_admin_company_zip', + de_admin_company_addr = '$de_admin_company_addr', + de_admin_info_name = '$de_admin_info_name', + de_admin_info_email = '$de_admin_info_email', + de_root_index_use = '$de_root_index_use', + de_shop_layout_use = '$de_shop_layout_use', + de_shop_skin = '$de_shop_skin', + de_shop_mobile_skin = '$de_shop_mobile_skin', + de_type1_list_use = '$de_type1_list_use', + de_type1_list_skin = '$de_type1_list_skin', + de_type1_list_mod = '$de_type1_list_mod', + de_type1_list_row = '$de_type1_list_row', + de_type1_img_width = '$de_type1_img_width', + de_type1_img_height = '$de_type1_img_height', + de_type2_list_use = '$de_type2_list_use', + de_type2_list_skin = '$de_type2_list_skin', + de_type2_list_mod = '$de_type2_list_mod', + de_type2_list_row = '$de_type2_list_row', + de_type2_img_width = '$de_type2_img_width', + de_type2_img_height = '$de_type2_img_height', + de_type3_list_use = '$de_type3_list_use', + de_type3_list_skin = '$de_type3_list_skin', + de_type3_list_mod = '$de_type3_list_mod', + de_type3_list_row = '$de_type3_list_row', + de_type3_img_width = '$de_type3_img_width', + de_type3_img_height = '$de_type3_img_height', + de_type4_list_use = '$de_type4_list_use', + de_type4_list_skin = '$de_type4_list_skin', + de_type4_list_mod = '$de_type4_list_mod', + de_type4_list_row = '$de_type4_list_row', + de_type4_img_width = '$de_type4_img_width', + de_type4_img_height = '$de_type4_img_height', + de_type5_list_use = '$de_type5_list_use', + de_type5_list_skin = '$de_type5_list_skin', + de_type5_list_mod = '$de_type5_list_mod', + de_type5_list_row = '$de_type5_list_row', + de_type5_img_width = '$de_type5_img_width', + de_type5_img_height = '$de_type5_img_height', + de_mobile_type1_list_use = '$de_mobile_type1_list_use', + de_mobile_type1_list_skin = '$de_mobile_type1_list_skin', + de_mobile_type1_list_mod = '$de_mobile_type1_list_mod', + de_mobile_type1_img_width = '$de_mobile_type1_img_width', + de_mobile_type1_img_height = '$de_mobile_type1_img_height', + de_mobile_type2_list_use = '$de_mobile_type2_list_use', + de_mobile_type2_list_skin = '$de_mobile_type2_list_skin', + de_mobile_type2_list_mod = '$de_mobile_type2_list_mod', + de_mobile_type2_img_width = '$de_mobile_type2_img_width', + de_mobile_type2_img_height = '$de_mobile_type2_img_height', + de_mobile_type3_list_use = '$de_mobile_type3_list_use', + de_mobile_type3_list_skin = '$de_mobile_type3_list_skin', + de_mobile_type3_list_mod = '$de_mobile_type3_list_mod', + de_mobile_type3_img_width = '$de_mobile_type3_img_width', + de_mobile_type3_img_height = '$de_mobile_type3_img_height', + de_mobile_type4_list_use = '$de_mobile_type4_list_use', + de_mobile_type4_list_skin = '$de_mobile_type4_list_skin', + de_mobile_type4_list_mod = '$de_mobile_type4_list_mod', + de_mobile_type4_img_width = '$de_mobile_type4_img_width', + de_mobile_type4_img_height = '$de_mobile_type4_img_height', + de_mobile_type5_list_use = '$de_mobile_type5_list_use', + de_mobile_type5_list_skin = '$de_mobile_type5_list_skin', + de_mobile_type5_list_mod = '$de_mobile_type5_list_mod', + de_mobile_type5_img_width = '$de_mobile_type5_img_width', + de_mobile_type5_img_height = '$de_mobile_type5_img_height', + de_rel_list_use = '$de_rel_list_use', + de_rel_list_skin = '$de_rel_list_skin', + de_rel_list_mod = '$de_rel_list_mod', + de_rel_img_width = '$de_rel_img_width', + de_rel_img_height = '$de_rel_img_height', + de_mobile_rel_list_use = '$de_mobile_rel_list_use', + de_mobile_rel_list_skin = '$de_mobile_rel_list_skin', + de_mobile_rel_img_width = '$de_mobile_rel_img_width', + de_mobile_rel_img_height = '$de_mobile_rel_img_height', + de_search_list_skin = '$de_search_list_skin', + de_search_list_mod = '$de_search_list_mod', + de_search_list_row = '$de_search_list_row', + de_search_img_width = '$de_search_img_width', + de_search_img_height = '$de_search_img_height', + de_mobile_search_list_skin = '$de_mobile_search_list_skin', + de_mobile_search_list_mod = '$de_mobile_search_list_mod', + de_mobile_search_img_width = '$de_mobile_search_img_width', + de_mobile_search_img_height = '$de_mobile_search_img_height', + de_bank_use = '$de_bank_use', + de_bank_account = '$de_bank_account', + de_card_test = '$de_card_test', + de_card_use = '$de_card_use', + de_card_noint_use = '$de_card_noint_use', + de_card_point = '$de_card_point', + de_settle_min_point = '$de_settle_min_point', + de_settle_max_point = '$de_settle_max_point', + de_settle_point_unit = '$de_settle_point_unit', + de_level_sell = '$de_level_sell', + de_delivery_company = '$de_delivery_company', + de_send_cost_case = '$de_send_cost_case', + de_send_cost_limit = '$de_send_cost_limit', + de_send_cost_list = '$de_send_cost_list', + de_hope_date_use = '$de_hope_date_use', + de_hope_date_after = '$de_hope_date_after', + de_baesong_content = '$de_baesong_content', + de_change_content = '$de_change_content', + de_level_sell = '$de_level_sell', + de_point_days = '$de_point_days', + de_simg_width = '$de_simg_width', + de_simg_height = '$de_simg_height', + de_mimg_width = '$de_mimg_width', + de_mimg_height = '$de_mimg_height', + de_kcp_mid = '$de_kcp_mid', + de_kcp_site_key = '$de_kcp_site_key', + de_iche_use = '$de_iche_use', + de_sms_cont1 = '$de_sms_cont1', + de_sms_cont2 = '$de_sms_cont2', + de_sms_cont3 = '$de_sms_cont3', + de_sms_cont4 = '$de_sms_cont4', + de_sms_cont5 = '$de_sms_cont5', + de_sms_use1 = '$de_sms_use1', + de_sms_use2 = '$de_sms_use2', + de_sms_use3 = '$de_sms_use3', + de_sms_use4 = '$de_sms_use4', + de_sms_use5 = '$de_sms_use5', + de_sms_hp = '$de_sms_hp', + de_item_use_use = '$de_item_use_use', + de_item_use_write = '$de_item_use_write', + de_code_dup_use = '$de_code_dup_use', + de_cart_keep_term = '$de_cart_keep_term', + de_guest_cart_use = '$de_guest_cart_use', + de_admin_buga_no = '$de_admin_buga_no', + de_vbank_use = '$de_vbank_use', + de_taxsave_use = '$de_taxsave_use', + de_guest_privacy = '$de_guest_privacy', + de_hp_use = '$de_hp_use', + de_escrow_use = '$de_escrow_use', + de_tax_flag_use = '$de_tax_flag_use', + de_member_reg_coupon_use = '$de_member_reg_coupon_use', + de_member_reg_coupon_term = '$de_member_reg_coupon_term', + de_member_reg_coupon_price = '$de_member_reg_coupon_price', + de_member_reg_coupon_minimum = '$de_member_reg_coupon_minimum' "; sql_query($sql); diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 502801db7..e37824942 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -395,7 +395,7 @@ if($w == '' && $default['de_member_reg_coupon_use'] && $default['de_member_reg_c $cp_type = 0; $cp_price = $default['de_member_reg_coupon_price']; $cp_trunc = 1; - $cp_minimum = 0; + $cp_minimum = $default['de_member_reg_coupon_minimum']; $cp_maximum = 0; $sql = " INSERT INTO {$g5['g5_shop_coupon_table']} diff --git a/install/gnuboard5shop.sql b/install/gnuboard5shop.sql index 47cff67ae..14d5acefd 100644 --- a/install/gnuboard5shop.sql +++ b/install/gnuboard5shop.sql @@ -311,7 +311,8 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` ( `de_tax_flag_use` tinyint(4) NOT NULL DEFAULT '0', `de_member_reg_coupon_use` tinyint(4) NOT NULL DEFAULT '0', `de_member_reg_coupon_term` int(11) NOT NULL DEFAULT '0', - `de_member_reg_coupon_price` int(11) NOT NULL DEFAULT '0' + `de_member_reg_coupon_price` int(11) NOT NULL DEFAULT '0', + `de_member_reg_coupon_minimum` int(11) NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- diff --git a/mobile/skin/member/basic/register_result.skin.php b/mobile/skin/member/basic/register_result.skin.php index 213156c53..796a6d1ce 100644 --- a/mobile/skin/member/basic/register_result.skin.php +++ b/mobile/skin/member/basic/register_result.skin.php @@ -41,7 +41,7 @@ add_stylesheet('',

- 님께 주문시 사용하실 수 있는 원 할인 쿠폰이 발행됐습니다.
+ 님께 주문시 사용하실 수 있는 할인 쿠폰이 발행됐습니다.
발행된 할인 쿠폰 내역은 마이페이지에서 확인하실 수 있습니다.

diff --git a/skin/member/basic/register_result.skin.php b/skin/member/basic/register_result.skin.php index 4d0fd2d7c..c611b985a 100644 --- a/skin/member/basic/register_result.skin.php +++ b/skin/member/basic/register_result.skin.php @@ -42,7 +42,7 @@ add_stylesheet('',

- 님께 주문시 사용하실 수 있는 원 할인 쿠폰이 발행됐습니다.
+ 님께 주문시 사용하실 수 있는 할인 쿠폰이 발행됐습니다.
발행된 할인 쿠폰 내역은 마이페이지에서 확인하실 수 있습니다.