diff --git a/adm/shop_admin/itemform.php b/adm/shop_admin/itemform.php
index d0bd53c75..ce081a928 100644
--- a/adm/shop_admin/itemform.php
+++ b/adm/shop_admin/itemform.php
@@ -100,6 +100,12 @@ if(!sql_query(" select it_supply_point from {$g5['g5_shop_item_table']} limit 1
ADD `it_supply_point` int(11) NOT NULL DEFAULT '0' AFTER `it_point_type` ", true);
}
+// 상품메모 필드 추가
+if(!sql_query(" select it_shop_memo from {$g5['g5_shop_item_table']} limit 1 ", false)) {
+ sql_query(" ALTER TABLE `{$g5['g5_shop_item_table']}`
+ ADD `it_shop_memo` text NOT NULL AFTER `it_use_avg` ", true);
+}
+
$pg_anchor ='
- 상품분류
- 스킨설정
@@ -463,6 +469,16 @@ if(!sql_query(" select it_skin from {$g5['g5_shop_item_table']} limit 1", false)
+
+ |
+ |
+
+
+
+
+
+ |
+
diff --git a/adm/shop_admin/itemformupdate.php b/adm/shop_admin/itemformupdate.php
index d9b3f0a12..18490b990 100644
--- a/adm/shop_admin/itemformupdate.php
+++ b/adm/shop_admin/itemformupdate.php
@@ -313,6 +313,7 @@ $sql_common = " ca_id = '$ca_id',
it_tel_inq = '$it_tel_inq',
it_info_gubun = '$it_info_gubun',
it_info_value = '$it_info_value',
+ it_shop_memo = '$it_shop_memo',
it_img1 = '$it_img1',
it_img2 = '$it_img2',
it_img3 = '$it_img3',
@@ -468,6 +469,7 @@ if(is_checked('chk_ca_it_brand')) $ca_fields .= " , it_brand = '$i
if(is_checked('chk_ca_it_model')) $ca_fields .= " , it_model = '$it_model' ";
if(is_checked('chk_ca_it_notax')) $ca_fields .= " , it_notax = '$it_notax' ";
if(is_checked('chk_ca_it_sell_email')) $ca_fields .= " , it_sell_email = '$it_sell_email' ";
+if(is_checked('chk_ca_it_shop_memo')) $ca_fields .= " , it_shop_memo = '$it_shop_memo' ";
if(is_checked('chk_ca_it_tel_inq')) $ca_fields .= " , it_tel_inq = '$it_tel_inq' ";
if(is_checked('chk_ca_it_use')) $ca_fields .= " , it_use = '$it_use' ";
if(is_checked('chk_ca_it_nocoupon')) $ca_fields .= " , it_nocoupon = '$it_nocoupon' ";
@@ -519,6 +521,7 @@ if(is_checked('chk_all_it_brand')) $all_fields .= " , it_brand = '
if(is_checked('chk_all_it_model')) $all_fields .= " , it_model = '$it_model' ";
if(is_checked('chk_all_it_notax')) $all_fields .= " , it_notax = '$it_notax' ";
if(is_checked('chk_all_it_sell_email')) $all_fields .= " , it_sell_email = '$it_sell_email' ";
+if(is_checked('chk_all_it_shop_memo')) $all_fields .= " , it_shop_memo = '$it_shop_memo' ";
if(is_checked('chk_all_it_tel_inq')) $all_fields .= " , it_tel_inq = '$it_tel_inq' ";
if(is_checked('chk_all_it_use')) $all_fields .= " , it_use = '$it_use' ";
if(is_checked('chk_all_it_nocoupon')) $all_fields .= " , it_nocoupon = '$it_nocoupon' ";
diff --git a/install/gnuboard5shop.sql b/install/gnuboard5shop.sql
index 81d95ff39..3a847cdfa 100644
--- a/install/gnuboard5shop.sql
+++ b/install/gnuboard5shop.sql
@@ -423,6 +423,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_item` (
`it_sum_qty` int(11) NOT NULL DEFAULT '0',
`it_use_cnt` int(11) NOT NULL DEFAULT '0',
`it_use_avg` DECIMAL(2,1) NOT NULL,
+ `it_shop_memo` text NOT NULL,
`it_img1` varchar(255) NOT NULL DEFAULT '',
`it_img2` varchar(255) NOT NULL DEFAULT '',
`it_img3` varchar(255) NOT NULL DEFAULT '',