From 42ce1801e7c06b2c214194ecb66699785d99a6be Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 6 May 2013 21:20:05 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#140=20=EC=83=81?= =?UTF-8?q?=ED=92=88=EC=A3=BC=EB=AC=B8=20=EC=9E=A5=EB=B0=94=EA=B5=AC?= =?UTF-8?q?=EB=8B=88=20=EC=83=81=ED=92=88=EC=97=90=20=EC=98=B5=EC=85=98=20?= =?UTF-8?q?=EC=9E=88=EC=9D=84=20=EB=95=8C=EB=A7=8C=20=EC=98=B5=EC=85=98?= =?UTF-8?q?=EB=B0=95=EC=8A=A4=20=EC=B6=9C=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cartsub.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shop/cartsub.inc.php b/shop/cartsub.inc.php index 532fb2cf1..e14858305 100644 --- a/shop/cartsub.inc.php +++ b/shop/cartsub.inc.php @@ -102,7 +102,9 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) } $it_name = $a1 . stripslashes($row['it_name']) . $a2 . '
'; - $it_name .= '
'.print_item_options($row['it_id'], $row['it_opt1'], $row['it_opt2'], $row['it_opt3'], $row['it_opt4'], $row['it_opt5'], $row['it_opt6']).'
'; + if ($row['it_opt1'] || $row['it_opt2'] || $row['it_opt3'] || $row['it_opt4'] || $row['it_opt5'] || $row['it_opt6']) { // 상품에 옵션이 있다면 + $it_name .= '
'.print_item_options($row['it_id'], $row['it_opt1'], $row['it_opt2'], $row['it_opt3'], $row['it_opt4'], $row['it_opt5'], $row['it_opt6']).'
'; + } $point = $row['ct_point'] * $row['ct_qty']; $sell_amount = $row['ct_amount'] * $row['ct_qty'];