From 6a074173a7e302fe195a08b1715afdb8582c5687 Mon Sep 17 00:00:00 2001 From: thisgun Date: Fri, 2 Feb 2018 16:44:18 +0900 Subject: [PATCH] =?UTF-8?q?=EB=84=A4=EC=9D=B4=EB=B2=84=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=20=EB=B0=B0=EC=86=A1=EB=B9=84=20=EC=A1=B0=EA=B1=B4=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/naverpay/naverpay_order.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shop/naverpay/naverpay_order.php b/shop/naverpay/naverpay_order.php index 606df06aa..3d0f40e6e 100644 --- a/shop/naverpay/naverpay_order.php +++ b/shop/naverpay/naverpay_order.php @@ -209,6 +209,11 @@ for($i=0; $i<$count; $i++) { $ct_send_cost = 1; // 착불 } + // 조건부 무료배송시 착불일 경우 ( 야수님이 알려주심 ) + if ($it['it_sc_type'] === 2 && $ct_send_cost === 1 && ((int)$io_price + (int)$it_price) * $ct_qty >= $it['it_sc_minimum'] ){ + $ct_send_cost = 2; // 무료 + } + // 옵션정보배열에 저장 $options[$it_id][] = array( 'option' => get_text(stripslashes($io_value)),