#191 마일리지 사용 설정 사용하도록 코드 수정
This commit is contained in:
@ -48,11 +48,11 @@ if (!isset($order_not_point)) {
|
||||
// 회원이면서 포인트가 0보다 크다면
|
||||
if ($tmp_row['mb_id'] && $row['ct_point'] > 0)
|
||||
{
|
||||
/** 주문완료 포인트를 게시판 포인트와 연동하려면 주석제거
|
||||
$po_point = $row['ct_point'] * $row['ct_qty'];
|
||||
$po_content = "$cart_title3 {$tmp_row['od_id']} ({$row['ct_id']}) $cart_title4";
|
||||
insert_point($tmp_row['mb_id'], $po_point, $po_content, "@delivery", $tmp_row['mb_id'], "{$tmp_row['od_id']},{$row['uq_id']},{$row['ct_id']}");
|
||||
*/
|
||||
if(!$default['de_mileage_use']) {
|
||||
$po_point = $row['ct_point'] * $row['ct_qty'];
|
||||
$po_content = "$cart_title3 {$tmp_row['od_id']} ({$row['ct_id']}) $cart_title4";
|
||||
insert_point($tmp_row['mb_id'], $po_point, $po_content, "@delivery", $tmp_row['mb_id'], "{$tmp_row['od_id']},{$row['uq_id']},{$row['ct_id']}");
|
||||
}
|
||||
|
||||
// 주문완료 마일리지 적립
|
||||
$ml_point = $row['ct_point'] * $row['ct_qty'];
|
||||
|
||||
Reference in New Issue
Block a user