대신택배 조회 주소가 궁금합니다.

2021-02-22 (월) 11:35:24 2,515

대신 택배가 조회가 안되고 있는것을 발견했는데요. 

혹시  shop.extend.php 에 

대신택배 조회 주소 아시는 분이 있으실 런지요? 

|

답변 1개

안녕하세요. 

대신택배의 경우 아래처럼 변경해 보세요~~

1. shop.extend.php 에서

  .'(대신택배^http://home.daesinlogistics.co.kr/daesin/jsp/d_freight_chase/d_general_process2.jsp?billno1=^043-222-4582)'

->

.'(대신택배^http://home.daesinlogistics.co.kr/daesin/jsp/d_freight_chase/d_general_process2.jsp?billno1=&billno2=&billno3=^043-222-4582)'

또는

2. /lib/shop.lib.php 파일에서

function get_delivery_inquiry($company, $invoice, $class='') 함수를 수정

    $str = '';
    if(isset($com) && $com && isset($url) && $url) {

     if($com=="대신택배") {

        $invoice = substr($invoice,0,4)."&billno2=".substr($invoice,4,3)."&billno3=".substr($invoice,7,6);

      }


        $str .= '<a href="'.$url.$invoice.'" target="_blank"';
        if($class)
            $str .= ' class="'.$class.'"';
        $str .='>배송조회</a>';
        if($tel)
            $str .= ' (문의전화: '.$tel.')';
    }

답변을 작성하려면 로그인이 필요합니다.