상품 상세페이지에서 상품클릭시 큰이미지팝업 안뜨게 할 수 있을까요?

상품 상세페이지에서 상품클릭시 큰이미지팝업 안뜨게 할 수 있을까요?

QA

상품 상세페이지에서 상품클릭시 큰이미지팝업 안뜨게 할 수 있을까요?

본문

안녕하세요, 고수님들
혹시 상품 상세페이지에서 왼쪽 상품이미지와 아래  썸네일을 클릭하면 상품이미지팝업이 뜨는데...
팝업이 안뜨게 할 수 있나요?

item.form.skin.php 소스에서 링크를 지우니 이미지도 안뜨고 썸네일오버시 위상품이미지도 바뀌지않네요

어디를 어떻게 수정해야 할까요?

이 질문에 댓글 쓰기 :

답변 1

/skin/shop/basic/item.form.skin.php 파일을 수정한다면 아래와 같습니다.

largeimage 부분을 찾아서 삭제하는 겁니다.


            <?php
            $big_img_count = 0;
            $thumbnails = array();
            for($i=1; $i<=10; $i++) {
                if(!$it['it_img'.$i])
                    continue;
   
                $img = get_it_thumbnail($it['it_img'.$i], $default['de_mimg_width'], $default['de_mimg_height']);
   
                if($img) {
                    // 썸네일
                    $thumb = get_it_thumbnail($it['it_img'.$i], 70, 70);
                    $thumbnails[] = $thumb;
                    $big_img_count++;
   
                    echo $img;
                }
            }
   
            if($big_img_count == 0) {
                echo '<img src="'.G5_SHOP_URL.'/img/no_image.gif" alt="">';
            }
            ?>
           
            </div>
            <?php
            // 썸네일
            $thumb1 = true;
            $thumb_count = 0;
            $total_count = count($thumbnails);
            if($total_count > 0) {
                echo '<ul id="sit_pvi_thumb">';
                foreach($thumbnails as $val) {
                    $thumb_count++;
                    $sit_pvi_last ='';
                    if ($thumb_count % 5 == 0) $sit_pvi_last = 'class="li_last"';
                        echo '<li '.$sit_pvi_last.'>'.$val.'<span class="sound_only"> '.$thumb_count.'번째 이미지 새창</span>';
                        echo '</li>';
                }
                echo '</ul>';
            }
            ?>
답변을 작성하시기 전에 로그인 해주세요.
전체 10
QA 내용 검색
filter #php ×

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT