From 87e9fe4e2ae4c5017be3dce904263bea1f2e33b8 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 2 Dec 2013 17:50:40 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=B5=EC=85=98=ED=95=AD=EB=AA=A9=EC=97=90?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80=EA=B8=88=EC=95=A1=20=ED=91=9C=EC=8B=9C?= =?UTF-8?q?=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/shop.lib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/shop.lib.php b/lib/shop.lib.php index e461a3518..09d40e837 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -1087,14 +1087,15 @@ function print_item_options($it_id, $cart_id) { global $g5; - $sql = " select ct_option, ct_qty from {$g5['g5_shop_cart_table']} where it_id = '$it_id' and od_id = '$cart_id' order by io_type asc, ct_id asc "; + $sql = " select ct_option, ct_qty, io_price + from {$g5['g5_shop_cart_table']} where it_id = '$it_id' and od_id = '$cart_id' order by io_type asc, ct_id asc "; $result = sql_query($sql); $str = ''; for($i=0; $row=sql_fetch_array($result); $i++) { if($i == 0) $str .= '