쇼핑몰: 상품 상세보기 다른 상품보기 위치 수정

This commit is contained in:
whitedot
2013-07-02 09:54:32 +09:00
parent 29fd3014ab
commit 861b414eb4
2 changed files with 14 additions and 15 deletions

View File

@ -517,7 +517,7 @@ td.empty_table {padding:85px 0;text-align:center}
#sit_btn_rec {background:#888;color:#fff} #sit_btn_rec {background:#888;color:#fff}
/* 상품 상세보기 - 다른 상품 보기 */ /* 상품 상세보기 - 다른 상품 보기 */
#sit_siblings {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9;text-align:center} #sit_siblings {clear:both;margin:0 0 10px;padding:30px 10px 10px;text-align:center}
#sit_siblings h2 {position:absolute;font-size:0;line-height:0;content:""} #sit_siblings h2 {position:absolute;font-size:0;line-height:0;content:""}
/* 상품 상세보기 - 상품정보 */ /* 상품 상세보기 - 상품정보 */

View File

@ -480,24 +480,23 @@ else
</script> </script>
</section> </section>
<!-- } 상품 요약정보 및 구매 끝 --> <!-- } 상품 요약정보 및 구매 끝 -->
<!-- 다른 상품 보기 시작 { -->
<div id="sit_siblings">
<?php
if ($prev_href || $next_href) {
echo $prev_href.$prev_title.$prev_href2;
echo $next_href.$next_title.$next_href2;
} else {
echo '<span class="sound_only">이 분류에 등록된 다른 상품이 없습니다.</span>';
}
?>
</div>
<!-- } 다른 상품 보기 끝 -->
</div> </div>
</form> </form>
<!-- 다른 상품 보기 시작 { -->
<aside id="sit_siblings">
<h2>다른 상품 보기</h2>
<?php
if ($prev_href || $next_href) {
echo $prev_href.$prev_title.$prev_href2;
echo $next_href.$next_title.$next_href2;
} else {
echo '<span class="sound_only">이 분류에 등록된 다른 상품이 없습니다.</span>';
}
?>
</aside>
<!-- } 다른 상품 보기 끝 -->
<script> <script>
function click_item(id) function click_item(id)
{ {