From ea2083485437b265c908948b5f2ed142032aa36d Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 22 May 2013 17:51:19 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=81=ED=92=88=EB=B3=B5=EC=82=AC=EC=8B=9C?= =?UTF-8?q?=20=EC=84=A0=ED=83=9D/=EC=B6=94=EA=B0=80=EC=98=B5=EC=85=98=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=20=EB=B3=B5=EC=82=AC=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/item_copy_update.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/adm/shop_admin/item_copy_update.php b/adm/shop_admin/item_copy_update.php index 802edf912..d2c8f2536 100644 --- a/adm/shop_admin/item_copy_update.php +++ b/adm/shop_admin/item_copy_update.php @@ -38,6 +38,14 @@ $sql = " insert {$g4['shop_item_table']} $sql_common "; sql_query($sql); +// 선택/추가 옵션 copy +$opt_sql = " insert ignore into {$g4['shop_item_option_table']} ( io_id, io_type, it_id, io_price, io_stock_qty, io_noti_qty, io_use ) + select io_id, io_type, '$new_it_id', io_price, io_stock_qty, io_noti_qty, io_use + from {$g4['shop_item_option_table']} + where it_id = '$it_id' + order by io_no asc "; +sql_query($opt_sql); + // html 에디터로 첨부된 이미지 파일 복사 if($cp['it_explan']) { $matchs = get_editor_image($cp['it_explan']);