영카트 [YC5] 2017년 2월 20일부로 우편번호 V1 서비스가 종료되었습니다.
페이지 정보
본문
2017년 2월 20일부로 우편번호 V1 서비스가 종료되었습니다.
지속적으로 이용하실 분께서는 V2서비스를 이용해 주세요.
자세한 사항은 공지사항(https://goo.gl/KzO9Mn)을 참고하시기 바랍니다.
우편번호 검색을 눌렀을떄 위의 안내창이 뜰때는
방법1. 영카트 5.0.35 (2015-06-01 https://sir.kr/yc5_pds/1318 ) 에서 패치되었으므로, 최신버전으로 패치
방법2. 우편번호 검색만 정상화 하고자 한다면 아래의 내용 변경
그누보드5 관련 수정사항은 https://www.happyjung.com/lecture/2472 참고
1-1. 영카트5 / shop / orderform.php
<?php $zip_href = G5_BBS_URL.'/zip.php?frm_name=forderform&frm_zip1=od_zip1&frm_zip2=od_zip2&frm_addr1=od_addr1&frm_addr2=od_addr2&frm_addr3=od_addr3&frm_jibeon=od_addr_jibeon'; ?>
<tr>
<th scope="row">주소</th>
<td>
<label for="od_zip1" class="sound_only">우편번호 앞자리<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_zip1" value="<?php echo $member['mb_zip1'] ?>" id="od_zip1" required class="frm_input required" size="3" maxlength="3">
-
<label for="od_zip2" class="sound_only">우편번호 뒷자리<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_zip2" value="<?php echo $member['mb_zip2'] ?>" id="od_zip2" required class="frm_input required" size="3" maxlength="3">
<a href="<?php echo $zip_href; ?>" class="btn_frmline win_zip_find" target="_blank">주소 검색</a><br>
<input type="text" name="od_addr1" value="<?php echo $member['mb_addr1'] ?>" id="od_addr1" required class="frm_input frm_address required" size="60">
<label for="od_addr1">기본주소<strong class="sound_only"> 필수</strong></label><br>
<input type="text" name="od_addr2" value="<?php echo $member['mb_addr2'] ?>" id="od_addr2" class="frm_input frm_address" size="60">
<label for="od_addr2">상세주소</label><br>
<input type="text" name="od_addr3" value="<?php echo $member['mb_addr3'] ?>" id="od_addr3" readonly class="frm_input frm_address" size="60">
<label for="od_addr3">참고항목</label><br>
<input type="hidden" name="od_addr_jibeon" value="<?php echo $member['mb_addr_jibeon']; ?>">
<span id="od_addr_jibeon"><?php echo ($member['mb_addr_jibeon'] ? '지번주소 : '.$member['mb_addr_jibeon'] : ''); ?></span>
를 아래와 같이 변경
<tr>
<th scope="row">주소</th>
<td>
<label for="od_zip" class="sound_only">우편번호<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_zip" value="<?php echo $member['mb_zip1'].$member['mb_zip2']; ?>" id="od_zip" required class="frm_input required" size="5" maxlength="6">
<button type="button" class="btn_frmline" onclick="win_zip('forderform', 'od_zip', 'od_addr1', 'od_addr2', 'od_addr3', 'od_addr_jibeon');">주소 검색</button><br>
<input type="text" name="od_addr1" value="<?php echo get_text($member['mb_addr1']) ?>" id="od_addr1" required class="frm_input frm_address required" size="60">
<label for="od_addr1">기본주소<strong class="sound_only"> 필수</strong></label><br>
<input type="text" name="od_addr2" value="<?php echo get_text($member['mb_addr2']) ?>" id="od_addr2" class="frm_input frm_address" size="60">
<label for="od_addr2">상세주소</label>
<br>
<input type="text" name="od_addr3" value="<?php echo get_text($member['mb_addr3']) ?>" id="od_addr3" class="frm_input frm_address" size="60" readonly>
<label for="od_addr3">참고항목</label><br>
<input type="hidden" name="od_addr_jibeon" value="<?php echo get_text($member['mb_addr_jibeon']); ?>">
1-2. 영카트5 / shop / orderform.php
<?php $zip_href = G5_BBS_URL.'/zip.php?frm_name=forderform&frm_zip1=od_b_zip1&frm_zip2=od_b_zip2&frm_addr1=od_b_addr1&frm_addr2=od_b_addr2&frm_addr3=od_b_addr3&frm_jibeon=od_b_addr_jibeon'; ?>
<tr>
<th scope="row">주소</th>
<td id="sod_frm_addr">
<label for="od_b_zip1" class="sound_only">우편번호 앞자리<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_b_zip1" id="od_b_zip1" required class="frm_input required" size="3" maxlength="3">
-
<label for="od_b_zip2" class="sound_only">우편번호 뒷자리<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_b_zip2" id="od_b_zip2" required class="frm_input required" size="3" maxlength="3">
<a href="<?php echo $zip_href; ?>" class="btn_frmline win_zip_find" target="_blank">주소 검색</a><br>
<input type="text" name="od_b_addr1" id="od_b_addr1" required class="frm_input frm_address required" size="60">
<label for="od_b_addr1">기본주소<strong class="sound_only"> 필수</strong></label><br>
<input type="text" name="od_b_addr2" id="od_b_addr2" class="frm_input frm_address" size="60">
<label for="od_b_addr2">상세주소</label><br>
<input type="text" name="od_b_addr3" id="od_b_addr3" readonly class="frm_input frm_address" size="60">
<label for="od_b_addr3">참고항목</label><br>
<input type="hidden" name="od_b_addr_jibeon" value="">
<span id="od_b_addr_jibeon"></span>
를 아래와 같이 변경
<tr>
<th scope="row">주소</th>
<td id="sod_frm_addr">
<label for="od_b_zip" class="sound_only">우편번호<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_b_zip" id="od_b_zip" required class="frm_input required" size="5" maxlength="6">
<button type="button" class="btn_frmline" onclick="win_zip('forderform', 'od_b_zip', 'od_b_addr1', 'od_b_addr2', 'od_b_addr3', 'od_b_addr_jibeon');">주소 검색</button><br>
<input type="text" name="od_b_addr1" id="od_b_addr1" required class="frm_input frm_address required" size="60">
<label for="od_b_addr1">기본주소<strong class="sound_only"> 필수</strong></label><br>
<input type="text" name="od_b_addr2" id="od_b_addr2" class="frm_input frm_address" size="60">
<label for="od_b_addr2">상세주소</label>
<br>
<input type="text" name="od_b_addr3" id="od_b_addr3" readonly class="frm_input frm_address" size="60">
<label for="od_b_addr3">참고항목</label><br>
<input type="hidden" name="od_b_addr_jibeon" value="">
1-3. 영카트5 / shop / orderform.php
od_zip1 >> od_zip 으로 변경
od_zip2 관련 내용 삭제
od_b_zip1 >> od_b_zip 으로 변경
od_b_zip2 관련 내용 삭제
zip1 >> zip 으로 변경
zip2 관련 내용 삭제
2. 영카트5 / css/ defailt_shop.css
#sod_frm_addr div div {position:absolute;top:-20px;left:170px}
를 아래와 같이 변경
#sod_frm_addr div div {position:absolute;top:0px;left:0px}
3-1. 영카트 / adm / shop_admin / orderform.php
<label for="od_zip1" class="sound_only">우편번호 앞자리</label>
<input type="text" name="od_zip1" value="<?php echo $od['od_zip1']; ?>" id="od_zip1" required class="frm_input required" size="4">
-
<label for="od_zip2" class="sound_only">우편번호 뒷자리</label>
<input type="text" name="od_zip2" value="<?php echo $od['od_zip2']; ?>" id="od_zip2" required class="frm_input required" size="4">
<a href="<?php echo G5_BBS_URL; ?>/zip.php?frm_name=frmorderform3&frm_zip1=od_zip1&frm_zip2=od_zip2&frm_addr1=od_addr1&frm_addr2=od_addr2&frm_addr3=od_addr3&frm_jibeon=od_addr_jibeon" id="od_zip_find" class="btn_frmline win_zip_find" target="_blank">주소 검색</a><br>
<span id="od_win_zip" style="display:block"></span>
<input type="text" name="od_addr1" value="<?php echo $od['od_addr1']; ?>" id="od_addr1" required class="frm_input required" size="35">
<label for="od_addr1">기본주소</label><br>
<input type="text" name="od_addr2" value="<?php echo $od['od_addr2']; ?>" id="od_addr2" class="frm_input" size="35">
<label for="od_addr2">상세주소</label>
<br>
<input type="text" name="od_addr3" value="<?php echo $od['od_addr3']; ?>" id="od_addr3" class="frm_input" size="35">
<label for="od_addr3">참고항목</label>
<input type="hidden" name="od_addr_jibeon" value="<?php echo $od['od_addr_jibeon']; ?>"><br>
를 아래와 같이 변경
<label for="od_zip" class="sound_only">우편번호</label>
<input type="text" name="od_zip" value="<?php echo $od['od_zip1'].$od['od_zip2']; ?>" id="od_zip" required class="frm_input required" size="5">
<button type="button" class="btn_frmline" onclick="win_zip('frmorderform3', 'od_zip', 'od_addr1', 'od_addr2', 'od_addr3', 'od_addr_jibeon');">주소 검색</button><br>
<span id="od_win_zip" style="display:block"></span>
<input type="text" name="od_addr1" value="<?php echo get_text($od['od_addr1']); ?>" id="od_addr1" required class="frm_input required" size="35">
<label for="od_addr1">기본주소</label><br>
<input type="text" name="od_addr2" value="<?php echo get_text($od['od_addr2']); ?>" id="od_addr2" class="frm_input" size="35">
<label for="od_addr2">상세주소</label>
<br>
<input type="text" name="od_addr3" value="<?php echo get_text($od['od_addr3']); ?>" id="od_addr3" class="frm_input" size="35">
<label for="od_addr3">참고항목</label>
<input type="hidden" name="od_addr_jibeon" value="<?php echo get_text($od['od_addr_jibeon']); ?>"><br>
3-2. 영카트 / adm / shop_admin / orderform.php
<label for="od_b_zip1" class="sound_only">우편번호 앞자리</label>
<input type="text" name="od_b_zip1" value="<?php echo $od['od_b_zip1']; ?>" id="od_b_zip1" required class="frm_input required" size="4">
-
<label for="od_b_zip2" class="sound_only">우편번호 뒷자리</label>
<input type="text" name="od_b_zip2" value="<?php echo $od['od_b_zip2']; ?>" id="od_b_zip2" required class="frm_input required" size="4">
<a href="<?php echo G5_BBS_URL; ?>/zip.php?frm_name=frmorderform3&frm_zip1=od_b_zip1&frm_zip2=od_b_zip2&frm_addr1=od_b_addr1&frm_addr2=od_b_addr2&frm_addr3=od_b_addr3&frm_jibeon=od_b_addr_jibeon" id="od_zip_findb" class="btn_frmline win_zip_find" target="_blank">주소 검색</a><br>
<input type="text" name="od_b_addr1" value="<?php echo $od['od_b_addr1']; ?>" id="od_b_addr1" required class="frm_input required" size="35">
<label for="od_b_addr1">기본주소</label>
<input type="text" name="od_b_addr2" value="<?php echo $od['od_b_addr2']; ?>" id="od_b_addr2" class="frm_input" size="35">
<label for="od_b_addr2">상세주소</label>
<input type="text" name="od_b_addr3" value="<?php echo $od['od_b_addr3']; ?>" id="od_b_addr3" class="frm_input" size="35">
<label for="od_b_addr3">참고항목</label>
<input type="hidden" name="od_b_addr_jibeon" value="<?php echo $od['od_b_addr_jibeon']; ?>"><br>
를 아래와 같이 변경
<label for="od_b_zip" class="sound_only">우편번호</label>
<input type="text" name="od_b_zip" value="<?php echo $od['od_b_zip1'].$od['od_b_zip2']; ?>" id="od_b_zip" required class="frm_input required" size="5">
<button type="button" class="btn_frmline" onclick="win_zip('frmorderform3', 'od_b_zip', 'od_b_addr1', 'od_b_addr2', 'od_b_addr3', 'od_b_addr_jibeon');">주소 검색</button><br>
<input type="text" name="od_b_addr1" value="<?php echo get_text($od['od_b_addr1']); ?>" id="od_b_addr1" required class="frm_input required" size="35">
<label for="od_b_addr1">기본주소</label>
<input type="text" name="od_b_addr2" value="<?php echo get_text($od['od_b_addr2']); ?>" id="od_b_addr2" class="frm_input" size="35">
<label for="od_b_addr2">상세주소</label>
<input type="text" name="od_b_addr3" value="<?php echo get_text($od['od_b_addr3']); ?>" id="od_b_addr3" class="frm_input" size="35">
<label for="od_b_addr3">참고항목</label>
<input type="hidden" name="od_b_addr_jibeon" value="<?php echo get_text($od['od_b_addr_jibeon']); ?>"><br>
댓글목록
등록된 댓글이 없습니다.