diff --git a/shop/mail/orderupdate1.mail.php b/shop/mail/orderupdate1.mail.php
index d5a2f3c09..2d38c1fca 100644
--- a/shop/mail/orderupdate1.mail.php
+++ b/shop/mail/orderupdate1.mail.php
@@ -40,14 +40,14 @@ $ft_a_st = 'display:block;padding:30px 0;background:#484848;color:#fff;text-alig
상품명 |
|
-
- | 선택옵션 |
- |
-
| 판매가격 |
|
+
+ | 선택옵션 |
+ |
+
| 소계 |
|
diff --git a/shop/mail/orderupdate2.mail.php b/shop/mail/orderupdate2.mail.php
index d246c5f40..cf9e985c7 100644
--- a/shop/mail/orderupdate2.mail.php
+++ b/shop/mail/orderupdate2.mail.php
@@ -40,14 +40,14 @@ $ft_a_st = 'display:block;padding:30px 0;background:#484848;color:#fff;text-alig
상품명 |
|
-
- | 선택옵션 |
- |
-
| 판매가격 |
|
+
+ | 선택옵션 |
+ |
+
| 소계 |
|
diff --git a/shop/mail/orderupdate3.mail.php b/shop/mail/orderupdate3.mail.php
index 54855458b..0c12420a5 100644
--- a/shop/mail/orderupdate3.mail.php
+++ b/shop/mail/orderupdate3.mail.php
@@ -39,14 +39,14 @@ $ft_a_st = 'display:block;padding:30px 0;background:#484848;color:#fff;text-alig
상품명 |
|
-
- | 선택옵션 |
- |
-
| 판매가격 |
|
+
+ | 선택옵션 |
+ |
+
diff --git a/shop/ordermail1.inc.php b/shop/ordermail1.inc.php
index 8c84590e0..ed2604ff3 100644
--- a/shop/ordermail1.inc.php
+++ b/shop/ordermail1.inc.php
@@ -36,7 +36,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$sum = sql_fetch($sql);
// 옵션정보
- $sql2 = " select ct_option, ct_qty
+ $sql2 = " select ct_option, ct_qty, io_price
from {$g5['g5_shop_cart_table']}
where it_id = '{$row['it_id']}' and od_id = '$od_id' and ct_select = '1'
order by io_type asc, ct_id asc ";
@@ -48,7 +48,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
for($k=0; $row2=sql_fetch_array($result2); $k++) {
if($k == 0)
$options .= ''.PHP_EOL;
- $options .= '- '.$row2['ct_option'].' '.$row2['ct_qty'].'개
'.PHP_EOL;
+ $price_plus = '';
+ if($row2['io_price'] >= 0)
+ $price_plus = '+';
+ $options .= '- '.$row2['ct_option'].' ('.$price_plus.display_price($row2['io_price']).') '.$row2['ct_qty'].'개
'.PHP_EOL;
}
if($k > 0)
diff --git a/shop/ordermail2.inc.php b/shop/ordermail2.inc.php
index d138bb646..03996e394 100644
--- a/shop/ordermail2.inc.php
+++ b/shop/ordermail2.inc.php
@@ -57,7 +57,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$sum = sql_fetch($sql);
// 옵션정보
- $sql2 = " select ct_option, ct_qty
+ $sql2 = " select ct_option, ct_qty, io_price
from {$g5['g5_shop_cart_table']}
where it_id = '{$row['it_id']}' and od_id = '$od_id' and ct_select = '1'
order by io_type asc, ct_id asc ";
@@ -69,7 +69,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
for($k=0; $row2=sql_fetch_array($result2); $k++) {
if($k == 0)
$options .= ''.PHP_EOL;
- $options .= '- '.$row2['ct_option'].' '.$row2['ct_qty'].'개
'.PHP_EOL;
+ $price_plus = '';
+ if($row2['io_price'] >= 0)
+ $price_plus = '+';
+ $options .= '- '.$row2['ct_option'].' ('.$price_plus.display_price($row2['io_price']).') '.$row2['ct_qty'].'개
'.PHP_EOL;
}
if($k > 0)