테스트 사이트 - 개발 중인 베타 버전입니다

영카트 주문서에서 삭제하고 싶은 텍스트가 있습니다. 채택완료

dethos79 6년 전 조회 2,484

 

영카트 주문서에서 선택한 옵션값 마지막에 노출되는 '1개 (+)'  텍스트를 없애고 싶습니다.

어느 파일 어느 곳을 삭제해야하는지 고수님들의 조언 부탁드립니다~!

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

답변 2개

채택된 답변
+20 포인트
S
6년 전

파일 위치 : /lib/shop.lib.php

함수명 :  print_item_options()

 

ex)

function print_item_options($it_id, $cart_id)

{

    global $g5;

 

    $sql = " select ct_option, ct_qty, io_price

                from {$g5['g5_shop_cart_table']} where it_id = '$it_id' and od_id = '$cart_id' order by io_type asc, ct_id asc ";

    $result = sql_query($sql);

 

    $str = '';

    for($i=0; $row=sql_fetch_array($result); $i++) {

        if($i == 0)

            $str .= '<ul>'.PHP_EOL;

        $price_plus = '';

        if($row['io_price'] >= 0)

            $price_plus = '+';

        $str .= '<li>'.get_text($row['ct_option']).' '.$row['ct_qty'].'개 ('.$price_plus.display_price($row['io_price']).')</li>'.PHP_EOL;

    }

 

    if($i > 0)

        $str .= '</ul>';

 

    return $str;

}

 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

d
dethos79
6년 전
소중한 답변 감사드립니다~^^!!

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

6년 전
로그인 후 평가할 수 있습니다

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

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

로그인