Преглед изворни кода

Merge branch 'develop' into bin2107

bin2107 пре 4 година
родитељ
комит
9252efc6a5

+ 14 - 12
src/main/java/com/style24/front/biz/service/TsfCustomerService.java

@@ -989,11 +989,11 @@ public class TsfCustomerService {
 		return resultMap;
 	}
 
-	/*
+	/**
 	 * 고객 예상등급
 	 *
-	 * @param  custGrade - 고객번호
-	 * @return CustGrade
+	 * @param  customer - 고객번호
+	 * @return GagaMap - 예상등급
 	 * @author jsshin
 	 * @since 2021. 04. 06
 	 */
@@ -1016,7 +1016,7 @@ public class TsfCustomerService {
 		return result;
 	}
 
-	/*
+	/**
 	 * 고객 정책정보
 	 *
 	 * @param  custGrade - 고객번호
@@ -1080,11 +1080,11 @@ public class TsfCustomerService {
 
 
 
-	/*
+	/**
 	 * 고객 예상등급 이후 정보
 	 *
 	 * @param  custGrade - 고객번호
-	 * @return CustGrade
+	 * @return GagaMap
 	 * @author jsshin
 	 * @since 2021. 05. 11
 	 */
@@ -1107,7 +1107,7 @@ public class TsfCustomerService {
 		return result;
 	}
 
-	/*
+	/**
 	 * 앱푸시수신여부
 	 *
 	 * @return String - 앱수신여부
@@ -1127,7 +1127,7 @@ public class TsfCustomerService {
 		return "N";
 	}
 
-	/*
+	/**
 	 * 앱마케팅수신여부
 	 *
 	 * @return String - 앱수신여부
@@ -1145,10 +1145,11 @@ public class TsfCustomerService {
 		return "N";
 	}
 
-	/*
+	/**
 	 * 앱푸시수신동의여부 변경
 	 *
-	 * @return String - 앱수신여부
+	 * @param appAppAgreeYn - 앱푸시수신여부
+	 * @return int - 결과
 	 * @author jsshin
 	 * @since 2021. 05. 20
 	 */
@@ -1178,10 +1179,11 @@ public class TsfCustomerService {
 		return resultCnt;
 	}
 
-	/*
+	/**
 	 * 앱마케팅수신여부 변경
 	 *
-	 * @return String - 앱수신여부
+	 * @param mkAgreeYn - 마케팅 수신여부
+	 * @return int - 결과
 	 * @author jsshin
 	 * @since 2021. 05. 20
 	 */

+ 1 - 1
src/main/java/com/style24/front/biz/service/TsfOrderService.java

@@ -1854,7 +1854,7 @@ public class TsfOrderService {
 
 						// 반품배송비, 교환배송비
 						sb.append("\t\t<returnShippingFee>").append(goods.getRtnDelvFee()).append("</returnShippingFee>\n");
-						sb.append("\t\t<exchangeShippingFee>").append(goods.getDelvFee() + goods.getRtnDelvFee()).append("</exchangeShippingFee>\n");
+						sb.append("\t\t<exchangeShippingFee>").append((goods.getRtnDelvFee() * 2)).append("</exchangeShippingFee>\n");
 					}
 
 					// 옵션정보 지원여부 true

+ 38 - 7
src/main/webapp/WEB-INF/views/mob/customer/JoinFormMob.html

@@ -167,14 +167,28 @@
 						</button>
 					</div>
 				</div>
-				<!-- //210415_수정 : 버튼 형식 변경. -->
 				<div class="desc_wrap t_c mt20">
-					<p>
-						본인은&nbsp;만 14세 이상이며&nbsp;<a href="javascript:void(0)" onclick="cfnUseTermsLayer();">STYLE24이용약관<i class="ico ico_blank ml5"></i></a>,<br>
-						<a href="javascript:void(0)" onclick="cfnPrivacyPolicyLayer('join');">개인정보 수집 및 이용<i class="ico ico_blank ml5"></i></a>,
-						<a href="javascript:void(0)" onclick="cfnPrivacyTrustLayer();">개인정보 취급 위탁<i class="ico ico_blank ml5"></i></a><br>
-						내용을 확인 하였으며,동의합니다.
-					</p>
+					<div class="form_field">
+						<p>
+							본인은&nbsp;만 14세 이상이며&nbsp;<br>
+							<input id="chk-policies-1" type="checkbox">
+								<label for="chk-policies-1">
+									<span>STYLE24이용약관</span>
+								</label>
+							<a href="javascript:void(0)" onclick="cfnUseTermsLayer();"><i class="ico ico_blank ml5"></i></a>,&nbsp;<br>
+							<input id="chk-policies-2" type="checkbox">
+								<label for="chk-policies-2">
+									<span>개인정보 수집 및 이용</span>
+								</label>
+							<a href="javascript:void(0)" onclick="cfnPrivacyPolicyLayer('join');"><i class="ico ico_blank ml5"></i></a>,&nbsp;
+							<input id="chk-policies-3" type="checkbox">
+								<label for="chk-policies-3">
+									<span>개인정보 취급 위탁</span>
+								</label>
+							<a href="javascript:void(0)" onclick="cfnPrivacyTrustLayer();"><i class="ico ico_blank ml5"></i></a><br>
+							내용을 확인 하였으며,동의합니다.
+						</p>
+					</div>
 				</div>
 			</form>
 		</div>
@@ -452,6 +466,23 @@
 
 	// 저장
 	$('#btnJoin').on('click', function () {
+		const $policies1 = $('#chk-policies-1');
+		const $policies2 = $('#chk-policies-2');
+		const $policies3 = $('#chk-policies-3');
+
+		if (!$policies1.is(':checked')) {
+			mcxDialog.alert("이용약관 체크 해주세요.");
+			return;
+		}
+		if (!$policies2.is(':checked')) {
+			mcxDialog.alert("개인정보 수집 및 이용 체크 해주세요.");
+			return;
+		}
+		if (!$policies3.is(':checked')) {
+			mcxDialog.alert("개인정보 취급 위탁 체크 해주세요.");
+			return;
+		}
+
 		mcxDialog.confirm("회원가입을 하시겠습니까?", {
 			cancelBtnText: "취소",
 			sureBtnText: "확인",

+ 1 - 0
src/main/webapp/WEB-INF/views/mob/order/OrderAddPaymentFormMob.html

@@ -157,6 +157,7 @@
 							</table>
 						</div>
 					</div>
+					
 					<div class="area_paymentinfo">
 						<!-- @자사만,무통장,실시간있으면 미노출 -->
 						<!-- @입점이있으면  -->

+ 182 - 66
src/main/webapp/WEB-INF/views/mob/order/OrderFormMob.html

@@ -244,20 +244,77 @@
 					</div>
 				</div>
 				
-				<div class="area_paymentinfo">
-					<!-- @ 2021.06.11 자사만, (무통장, 실시간) 미노출 -->
-					<!-- @ 입점있으면 무조건 노출  -->
+				<!-- 2021.07.29 약관동의로직변경 -->
+				<!-- 입점몰 -->
+				<div class="area_paymentinfo agree1" style="display:none;">
 					<div class="paymentinfo">
 						<div class="payinfo_blk_wrap">
 							<a href="javascript:void(0);">구매조건 확인 및 결제대행 서비스 약관 동의<span>보기</span></a>
-							
-							
-							<div class="payinfo_blk_parent">
+							<div class="payinfo_blk_parent" style="display:none;">
 								<div class="payinfo_blk">
 									<a href="javascript:void(0);">개인정보 제공에 대한 동의<span>보기</span></a>
 									<div class="infotxt">
 										STYLE24는 다음과 같이 회원님의 개인정보를 제3자에게 제공합니다.
-										<table class="paymentinfo agree1">
+										<table>
+											<colgroup>
+												<col width="30%">
+												<col width="*">
+											</colgroup>
+											<tbody>
+												<tr>
+													<th>제공받는 자</th>
+													<td>
+														<th:block th:each="delvFeeCd, i : ${delvFeeCdList}">
+															<th:block th:unless="${delvFeeCd.delvFeeCd} == 'WMS'">
+																<th:block th:if="${i.count == #lists.size(delvFeeCdList)}">
+																	<th:block th:text="|${delvFeeCd.supplyCompNm}|"></th:block>
+																</th:block>
+																<th:block th:if="${i.count < #lists.size(delvFeeCdList)}">
+																	<th:block th:text="|${delvFeeCd.supplyCompNm},|"></th:block>
+																</th:block>
+															</th:block>
+														</th:block>
+													</td>
+												</tr>
+												<tr>
+													<th>제공하는 항목</th>
+													<td>성명, 주소, 연락처</td>
+												</tr>
+												<tr>
+													<th>제공 목적</th>
+													<td>주문상품의 배송, 고객상담 및 불만처리</td>
+												</tr>
+												<tr>
+													<th>보유 및 이용기간</th>
+													<td>이용목적 달성 시 까지</td>
+												</tr>
+											</tbody>
+										</table>
+									</div>
+								</div>
+							</div>
+							
+							<div class="agree_payment">
+							위 주문내역을 확인 하였으며, 회원 본인은 결제에 동의합니다. (전자상거래법 제 8조 제2항)
+							</div>
+						</div>
+					</div>
+				</div>
+				
+				<!-- 입점몰 + 실시간/무통장 -->
+				<div class="area_paymentinfo agree2" style="display:none;">
+					<div class="paymentinfo">
+						<div class="payinfo_blk_wrap">
+							<a href="javascript:void(0);">구매조건 확인 및 결제대행 서비스 약관 동의<span>보기</span></a>
+							<div class="payinfo_blk_parent" style="display:none;">
+								<div class="payinfo_blk">
+									<a href="">
+										개인정보 제공에 대한 동의
+										<span>보기</span>
+									</a>
+									<div class="infotxt">
+										STYLE24는 다음과 같이 회원님의 개인정보를 제3자에게 제공합니다.
+										<table>
 											<colgroup>
 												<col width="30%">
 												<col width="*">
@@ -287,50 +344,101 @@
 												</tr>
 											</tbody>
 										</table>
-										<!-- 입점업체가 있을때 노출 -->
-										<th:block th:if="${delvCnt} > 0">
-											<table class="paymentinfo agree2">
-												<colgroup>
-													<col width="30%">
-													<col width="*">
-												</colgroup>
-												<tbody>
-													<tr>
-														<th>제공받는 자</th>
-														<td>
-															<th:block th:each="delvFeeCd, i : ${delvFeeCdList}">
-																<th:block th:unless="${delvFeeCd.delvFeeCd} == 'WMS'">
-																	<th:block th:if="${i.count == #lists.size(delvFeeCdList)}">
-																		<th:block th:text="|${delvFeeCd.supplyCompNm}|"></th:block>
-																	</th:block>
-																	<th:block th:if="${i.count < #lists.size(delvFeeCdList)}">
-																		<th:block th:text="|${delvFeeCd.supplyCompNm},|"></th:block>
-																	</th:block>
+										
+										<table>
+											<colgroup>
+												<col width="30%">
+												<col width="*">
+											</colgroup>
+											<tbody>
+												<tr>
+													<th>제공받는 자</th>
+													<td>
+														<th:block th:each="delvFeeCd, i : ${delvFeeCdList}">
+															<th:block th:unless="${delvFeeCd.delvFeeCd} == 'WMS'">
+																<th:block th:if="${i.count == #lists.size(delvFeeCdList)}">
+																	<th:block th:text="|${delvFeeCd.supplyCompNm}|"></th:block>
+																</th:block>
+																<th:block th:if="${i.count < #lists.size(delvFeeCdList)}">
+																	<th:block th:text="|${delvFeeCd.supplyCompNm},|"></th:block>
 																</th:block>
 															</th:block>
-														</td>
-													</tr>
-													<tr>
-														<th>제공하는 항목</th>
-														<td>성명, 주소, 연락처</td>
-													</tr>
-													<tr>
-														<th>제공 목적</th>
-														<td>주문상품의 배송, 고객상담 및 불만처리</td>
-													</tr>
-													<tr>
-														<th>보유 및 이용기간</th>
-														<td>이용목적 달성 시 까지</td>
-													</tr>
-												</tbody>
-											</table>
-										</th:block>
+														</th:block>
+													</td>
+												</tr>
+												<tr>
+													<th>제공하는 항목</th>
+													<td>성명, 주소, 연락처</td>
+												</tr>
+												<tr>
+													<th>제공 목적</th>
+													<td>주문상품의 배송, 고객상담 및 불만처리</td>
+												</tr>
+												<tr>
+													<th>보유 및 이용기간</th>
+													<td>이용목적 달성 시 까지</td>
+												</tr>
+											</tbody>
+										</table>
+									</div>
+								</div>
+							</div>
+							
+							<div class="agree_payment">
+							위 주문내역을 확인 하였으며, 회원 본인은 결제에 동의합니다. (전자상거래법 제 8조 제2항)
+							</div>
+						</div>
+					</div>
+				</div>
+				
+				<!-- 자사+실시간/무통장 -->
+				<div class="area_paymentinfo agree3" style="display:none;">
+					<div class="paymentinfo">
+						<div class="payinfo_blk_wrap">
+							<a href="javascript:void(0);">구매조건 확인 및 결제대행 서비스 약관 동의<span>보기</span></a>
+							<div class="payinfo_blk_parent" style="display:none;">
+								<div class="payinfo_blk">
+									<a href="">
+										개인정보 제공에 대한 동의
+										<span>보기</span>
+									</a>
+									<div class="infotxt">
+										STYLE24는 다음과 같이 회원님의 개인정보를 제3자에게 제공합니다.
+										<table>
+											<colgroup>
+												<col width="30%">
+												<col width="*">
+											</colgroup>
+											<tbody>
+												<tr>
+													<th>제공받는 자</th>
+													<td>서울보증보험㈜, ㈜유세이프</td>
+												</tr>
+												<tr>
+													<th>제공하는 항목</th>
+													<td>
+														구매자명, 구매자 생년월일,
+														구매자 성별, 구매자 연락처
+														(일반전화 및 핸드폰), 구매자
+														이메일, 주문번호,
+														배송지 정보, 주문 금액
+													</td>
+												</tr>
+												<tr>
+													<th>제공 목적</th>
+													<td>쇼핑몰보증보험 가입 및 보험가입 제반 사항</td>
+												</tr>
+												<tr>
+													<th>보유 및 이용기간</th>
+													<td>개별서비스 제공기간</td>
+												</tr>
+											</tbody>
+										</table>
 									</div>
 								</div>
 							</div>
 						</div>
 					</div>
-					
 					<div class="agree_payment">
 						위 주문내역을 확인 하였으며, 회원 본인은 결제에 동의합니다. (전자상거래법 제 8조 제2항)
 					</div>
@@ -1006,23 +1114,15 @@ var paymentInfoSet = function() {
 					} else {
 						$("#orderForm .area_paymethod .agree_insurance").hide();	
 					}
-					
-					if (delvCnt > 0) {
-						$("#orderForm .area_paymentinfo .paymentinfo.agree2").show();
-					} else {
-						$("#orderForm .area_paymentinfo .paymentinfo.agree2").hide();
-					}
 				});
 				
 				// 2021.04.25 실시간계좌이체, 무통장입금시 보증보험 신청 약관 노출
 				// 2021.05.16 동의박스체크시노출
+				var displayTemp = true;
 				$("#orderForm input[name=insuranceYn]").on("click", function(){
-					var displayTemp = true;
 					if (payType == "실시간계좌이체" || payType == "무통장입금" ) {
 						if ($(this).is(":checked")) {
-							$("#orderForm .area_paymethod .agree_insurance").show();
-							$("#orderForm .area_paymentinfo .paymentinfo").show();
-							$("#orderForm .area_paymentinfo .agree1").show();
+							displayTemp = true;
 						} else {
 							displayTemp = false;
 						}
@@ -1030,26 +1130,42 @@ var paymentInfoSet = function() {
 						displayTemp = false;
 					}
 					
-					if (displayTemp == false) {
+					// 약관동의 초기화
+					$("#orderForm .area_paymentinfo.agree1").hide();
+					$("#orderForm .area_paymentinfo.agree2").hide();
+					$("#orderForm .area_paymentinfo.agree3").hide();
+					
+					var obj;
+					
+					// 무통장/실시간
+					if (displayTemp) {
 						if (delvCnt > 0) {
-							$("#orderForm .area_paymentinfo .paymentinfo.agree2").show();
+							// case1 입점몰 + 무통장/실시간
+							obj = $("#orderForm .area_paymentinfo.agree2");
 						} else {
-							$("#orderForm .area_paymentinfo .paymentinfo.agree2").hide();
+							// case 3 자사 + 무통장/실시간
+							obj = $("#orderForm .area_paymentinfo.agree3");
 						}
-						$("#orderForm .area_paymentinfo .agree1").hide();
+					} else {
+						if (delvCnt > 0) {
+							// case1 입점몰
+							obj = $("#orderForm .area_paymentinfo.agree1");
+						}
+					}
+					
+					// 약관동의노출
+					obj.show();
+					
+					if (obj.find("span").text() == "닫기") {
+						obj.find('.payinfo_blk a').trigger("click");
 					}
 				});
 
-				// 2021.05.16 초기값설정
-				$("#orderForm .area_paymethod .agree_insurance").hide();
-				
+				// 2021.07.29 약관로직변경
 				if (delvCnt > 0) {
-					$("#orderForm .area_paymentinfo .paymentinfo.agree2").show();
-				} else {
-					$("#orderForm .area_paymentinfo .paymentinfo.agree2").hide();
+					// case1 입점몰
+					$("#orderForm .area_paymentinfo.agree1").show();
 				}
-				
-				$("#orderForm .area_paymentinfo .agree1").hide();
 
 				// 결제하기
 				$("#btn_payment").on("click", function(){

+ 5 - 2
src/main/webapp/WEB-INF/views/mob/order/OrderPaymentInfoMob.html

@@ -40,13 +40,14 @@
 										<span class="payType">신용카드</span>
 									</label>
 								</li>
+								<!-- TODO 김덕규 이사님 요청으로 모바일 테스트 안됨으로 인해 주석처리 추후 주석 제거 필요 - 2021.07.29 xodud1202
 								<li>
 									<input type="radio" name="rdi-paynormal" id="payKakao" class="KAKAO" value="KAKAO|G014_99"> 
 									<label for="payKakao">
 										<span><em class="sr-only payType">카카오페이 결제</em>
 										<em class="payimg kakao"></em></span>
 									</label>
-								</li>
+								</li>-->
 								<li>
 									<input type="radio" name="rdi-paynormal" id="payRealBank" class="KCP" value="KCP|G014_10">
 									<label for="payRealBank">
@@ -70,6 +71,7 @@
 										</label>
 									</li>
 								</th:block>
+								<!-- TODO 김덕규 이사님 요청으로 모바일 테스트 안됨으로 인해 주석처리 추후 주석 제거 필요 - 2021.07.29 xodud1202
 								<li>
 									<input type="radio" name="rdi-paynormal" id="payPayco" class="PAYCO" value="PAYCO|G014_30"> 
 									<label for="payPayco">
@@ -79,6 +81,7 @@
 										</span>
 									</label>
 								</li>
+								-->
 								<li>
 									<input type="radio" name="rdi-paynormal" id="payCellphone" class="KCP" value="KCP|G014_60"> 
 									<label for="payCellphone">
@@ -185,5 +188,5 @@ $(document).ready( function() {
 });
 
 
-</script>
+</script>
 </html>

+ 46 - 5
src/main/webapp/WEB-INF/views/web/customer/JoinFormWeb.html

@@ -164,11 +164,36 @@
 						</button>
 					</div>
 					<div class="desc_wrap t_c mt20">
-						<p>
-							본인은&nbsp;만 14세 이상이며&nbsp;<a href="javascript:void(0)" onclick="cfnUseTermsLayer();">STYLE24이용약관<i class="ico ico_blank ml5"></i></a>
-							,&nbsp;<a href="javascript:void(0)" onclick="cfnPrivacyPolicyLayer();">개인정보 수집 및 이용<i class="ico ico_blank ml5"></i></a>,<br>
-							<a href="javascript:void(0)" onclick="cfnPrivacyTrustLayer();">개인정보 취급 위탁<i class="ico ico_blank ml5"></i></a> 내용을 확인 하였으며,동의합니다.
-						</p>
+						<div class="form_wrap">
+							<div class="form_field">
+								<p>
+									본인은&nbsp;만 14세 이상이며&nbsp; <br>
+
+									<input id="chk-policies-1" type="checkbox">
+									<label for="chk-policies-1">
+										<span>STYLE24이용약관</span>
+									</label>
+									<a href="javascript:void(0)" onclick="cfnUseTermsLayer();"><i class="ico ico_blank ml5"></i></a>
+
+									&nbsp; &nbsp;
+
+									<input id="chk-policies-2" type="checkbox">
+									<label for="chk-policies-2">
+										<span>개인정보 수집 및 이용</span>
+									</label>
+									<a href="javascript:void(0)" onclick="cfnPrivacyPolicyLayer();"><i class="ico ico_blank ml5"></i></a>
+
+									&nbsp;&nbsp;&nbsp;
+
+									<input id="chk-policies-3" type="checkbox">
+									<label for="chk-policies-3">
+										<span>개인정보 취급 위탁</span>
+									</label>
+									<a href="javascript:void(0)" onclick="cfnPrivacyTrustLayer();"><i class="ico ico_blank ml5"></i></a>
+									<br> 내용을 확인 하였으며,동의합니다.
+								</p>
+							</div>
+						</div>
 					</div>
 				</form>
 				<!-- form End -->
@@ -421,6 +446,22 @@
 
 	// 저장
 	$('#btnJoin').on('click', function () {
+		const $policies1 = $('#chk-policies-1');
+		const $policies2 = $('#chk-policies-2');
+		const $policies3 = $('#chk-policies-3');
+		if (!$policies1.is(':checked')) {
+			mcxDialog.alert("이용약관 체크 해주세요.");
+			return;
+		}
+		if (!$policies2.is(':checked')) {
+			mcxDialog.alert("개인정보 수집 및 이용 체크 해주세요.");
+			return;
+		}
+		if (!$policies3.is(':checked')) {
+			mcxDialog.alert("개인정보 취급 위탁 체크 해주세요.");
+			return;
+		}
+
 		mcxDialog.confirm("회원가입을 하시겠습니까?", {
 			cancelBtnText: "취소",
 			sureBtnText: "확인",

+ 135 - 25
src/main/webapp/WEB-INF/views/web/order/OrderFormWeb.html

@@ -229,9 +229,9 @@
 								</ul>
 							</div>
 							
-							<div class="area_paymentinfo">
-								<!-- @ 2021.06.11 자사만, (무통장, 실시간) 미노출 -->
-								<!-- @ 입점있으면 무조건 노출  -->
+							<!-- 2021.07.29 약관동의로직변경 -->
+							<!-- 입점몰 -->
+							<div class="area_paymentinfo agree1" style="display:none;">
 								<div class="paymentinfo">
 									<div class="payinfo_blk">
 										<a href="javascript:void(0);">개인정보 제공에 대한 동의<span>보기</span></a>
@@ -252,7 +252,62 @@
 													</tr>
 												</thead> 
 												<tbody>
-													<tr class="paymentinfo agree1">
+													<!-- 입점업체가 있을때 노출 -->
+													<th:block th:if="${delvCnt} > 0">
+														<tr class="paymentinfo">
+															<td>
+																<th:block th:each="delvFeeCd, i : ${delvFeeCdList}">
+																	<th:block th:unless="${delvFeeCd.delvFeeCd} == 'WMS'">
+																		<th:block th:if="${i.count == #lists.size(delvFeeCdList)}">
+																			<th:block th:text="|${delvFeeCd.supplyCompNm}|"></th:block>
+																		</th:block>
+																		<th:block th:if="${i.count < #lists.size(delvFeeCdList)}">
+																			<th:block th:text="|${delvFeeCd.supplyCompNm},|"></th:block>
+																		</th:block>
+																	</th:block>
+																</th:block>
+															</td>
+															<td>성명, 주소, 연락처</td>
+															<td>주문상품의 배송, 고객상담 및 불만처리</td>
+															<td>이용목적 달성 시 까지</td>
+														</tr>
+													</th:block>
+													<!-- //입점업체가 있을때 노출 -->
+												</tbody>
+											</table>
+										</div>
+									</div>
+								</div>
+								<div class="agree_payment">
+									위 주문내역을 확인 하였으며, 회원 본인은 결제에 동의합니다. (전자상거래법 제 8조 제2항)
+								</div>
+							</div>
+							
+							<!-- 입점몰 + 실시간/무통장 -->
+							<div class="area_paymentinfo agree2" style="display:none;">
+								<div class="paymentinfo">
+									<div class="payinfo_blk">
+										<a href="javascript:void(0);">개인정보 제공에 대한 동의<span>보기</span></a>
+										<div class="infotxt">STYLE24는 다음과 같이 회원님의 개인정보를 제3자에게 제공합니다.
+											
+											
+											<table>
+												<colgroup>
+													<col width="25%">
+													<col width="*">
+													<col width="25%">
+													<col width="25%">
+												</colgroup>
+												<thead>
+													<tr>
+														<th>제공받는 자</th>
+														<th>제공하는 항목</th>
+														<th>제공 목적</th>
+														<th>보유 및 이용기간</th>
+													</tr>
+												</thead> 
+												<tbody>
+													<tr class="paymentinfo">
 														<td>서울보증보험㈜, ㈜유세이프</td>
 														<td>
 															구매자명, 구매자 생년월일,
@@ -264,9 +319,10 @@
 														<td>쇼핑몰보증보험 가입 및 보험가입 제반 사항</td>
 														<td>개별서비스 제공기간</td>
 													</tr>
+													
 													<!-- 입점업체가 있을때 노출 -->
 													<th:block th:if="${delvCnt} > 0">
-														<tr class="paymentinfo agree2">
+														<tr class="paymentinfo">
 															<td>
 																<th:block th:each="delvFeeCd, i : ${delvFeeCdList}">
 																	<th:block th:unless="${delvFeeCd.delvFeeCd} == 'WMS'">
@@ -295,6 +351,50 @@
 								</div>
 							</div>
 							
+							<!-- 자사+실시간/무통장 -->
+							<div class="area_paymentinfo agree3" style="display:none;">
+								<div class="paymentinfo">
+									<div class="payinfo_blk">
+										<a href="javascript:void(0);">개인정보 제공에 대한 동의<span>보기</span></a>
+										<div class="infotxt">STYLE24는 다음과 같이 회원님의 개인정보를 제3자에게 제공합니다.
+											<table>
+												<colgroup>
+													<col width="25%">
+													<col width="*">
+													<col width="25%">
+													<col width="25%">
+												</colgroup>
+												<thead>
+													<tr>
+														<th>제공받는 자</th>
+														<th>제공하는 항목</th>
+														<th>제공 목적</th>
+														<th>보유 및 이용기간</th>
+													</tr>
+												</thead> 
+												<tbody>
+													<tr class="paymentinfo">
+														<td>서울보증보험㈜, ㈜유세이프</td>
+														<td>
+															구매자명, 구매자 생년월일,
+															구매자 성별, 구매자 연락처
+															(일반전화 및 핸드폰), 구매자
+															이메일, 주문번호,
+															배송지 정보, 주문 금액
+														</td>
+														<td>쇼핑몰보증보험 가입 및 보험가입 제반 사항</td>
+														<td>개별서비스 제공기간</td>
+													</tr>
+												</tbody>
+											</table>
+										</div>
+									</div>
+								</div>
+								<div class="agree_payment">
+									위 주문내역을 확인 하였으며, 회원 본인은 결제에 동의합니다. (전자상거래법 제 8조 제2항)
+								</div>
+							</div>
+							
 							<div class="area_paybtn">
 								<div class="form_field">
 									<button type="button" class="btn btn_primary btn_block" id="btn_payment">
@@ -962,23 +1062,15 @@ var paymentInfoSet = function() {
 					} else {
 						$("#orderForm .area_paymethod .agree_insurance").hide();
 					}
-					
-					if (delvCnt > 0) {
-						$("#orderForm .area_paymentinfo .paymentinfo.agree2").show();
-					} else {
-						$("#orderForm .area_paymentinfo .paymentinfo.agree2").hide();
-					}
 				});
 				
 				// 2021.04.25 실시간계좌이체, 무통장입금시 보증보험 신청 약관 노출
 				// 2021.05.16 동의박스체크시노출
+				var displayTemp = true;
 				$("#orderForm input[name=insuranceYn]").on("click", function(){
-					var displayTemp = true;
 					if (payType == "실시간계좌이체" || payType == "무통장입금" ) {
 						if ($(this).is(":checked")) {
-							$("#orderForm .area_paymethod .agree_insurance").show();
-							$("#orderForm .area_paymentinfo .paymentinfo").show();
-							$("#orderForm .area_paymentinfo .agree1").show();
+							displayTemp = true;
 						} else {
 							displayTemp = false;
 						}
@@ -986,25 +1078,43 @@ var paymentInfoSet = function() {
 						displayTemp = false;
 					}
 					
-					if (displayTemp == false) {
+					// 약관동의 초기화
+					$("#orderForm .area_paymentinfo.agree1").hide();
+					$("#orderForm .area_paymentinfo.agree2").hide();
+					$("#orderForm .area_paymentinfo.agree3").hide();
+					
+					var obj;
+					
+					// 무통장/실시간
+					if (displayTemp) {
 						if (delvCnt > 0) {
-							$("#orderForm .area_paymentinfo .paymentinfo.agree2").show();
+							// case1 입점몰 + 무통장/실시간
+							obj = $("#orderForm .area_paymentinfo.agree2");
 						} else {
-							$("#orderForm .area_paymentinfo .paymentinfo.agree2").hide();
+							// case 3 자사 + 무통장/실시간
+							obj = $("#orderForm .area_paymentinfo.agree3");
 						}
-						$("#orderForm .area_paymentinfo .agree1").hide();
+					} else {
+						if (delvCnt > 0) {
+							// case1 입점몰
+							obj = $("#orderForm .area_paymentinfo.agree1");
+						}
+					}
+					
+					// 약관동의노출
+					obj.show();
+					
+					if (obj.find("span").text() == "닫기") {
+						obj.find('.payinfo_blk a').trigger("click");
 					}
 				});
 
+				// 2021.07.29 약관로직변경
 				if (delvCnt > 0) {
-					$("#orderForm .area_paymentinfo .paymentinfo.agree2").show();
-				} else {
-					$("#orderForm .area_paymentinfo .paymentinfo.agree2").hide();
+					// case1 입점몰
+					$("#orderForm .area_paymentinfo.agree1").show();
 				}
 				
-				// 2021.05.16 초기값설정
-				$("#orderForm .area_paymentinfo .agree1").hide();
-				
 				// 결제하기
 				$("#btn_payment").on("click", function(){