마일리지 관련 코드 및 파일 삭제
This commit is contained in:
@ -48,16 +48,9 @@ if (!isset($order_not_point)) {
|
||||
// 회원이면서 포인트가 0보다 크다면
|
||||
if ($tmp_row['mb_id'] && $row['ct_point'] > 0)
|
||||
{
|
||||
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'];
|
||||
$ml_content = "$cart_title3 {$tmp_row['od_id']} ({$row['ct_id']}) $cart_title4";
|
||||
insert_mileage($tmp_row['mb_id'], $ml_point, $ml_content, $tmp_row['od_id'], $row['ct_id']);
|
||||
$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']}");
|
||||
}
|
||||
|
||||
sql_query("update {$g4['shop_cart_table']} set ct_point_use = '1' where ct_id = '{$row['ct_id']}' ");
|
||||
|
||||
Reference in New Issue
Block a user