영카트 5.4 버전 내용 적용
This commit is contained in:
@ -15,13 +15,11 @@ include_once(G5_THEME_SHOP_PATH.'/shop.head.php');
|
||||
<?php echo display_banner('메인', 'mainbanner.10.skin.php'); ?>
|
||||
<!-- } 메인이미지 끝 -->
|
||||
|
||||
|
||||
|
||||
<?php if($default['de_type1_list_use']) { ?>
|
||||
<!-- 히트상품 시작 { -->
|
||||
<section class="sct_wrap">
|
||||
<section id="idx_hit" class="sct_wrap">
|
||||
<header>
|
||||
<h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=1">히트상품</a></h2>
|
||||
<h2><a href="<?php echo shop_type_url('1'); ?>">히트상품</a></h2>
|
||||
</header>
|
||||
<?php
|
||||
$list = new item_list();
|
||||
@ -34,41 +32,32 @@ include_once(G5_THEME_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
$list->set_view('star', true);
|
||||
echo $list->run();
|
||||
?>
|
||||
</section>
|
||||
<!-- } 히트상품 끝 -->
|
||||
<script>
|
||||
//히트상품
|
||||
$(function(){
|
||||
$('#idx_hit .smt_40').owlCarousel({
|
||||
loop:true,
|
||||
nav:true,
|
||||
autoplay:true,
|
||||
autoplayHoverPause:true,
|
||||
responsive:{
|
||||
1000:{items:5}
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($default['de_type2_list_use']) { ?>
|
||||
<!-- 추천상품 시작 { -->
|
||||
<section class="sct_wrap">
|
||||
<header>
|
||||
<h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=2">추천상품</a></h2>
|
||||
</header>
|
||||
<?php
|
||||
$list = new item_list();
|
||||
$list->set_type(2);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
echo $list->run();
|
||||
?>
|
||||
</section>
|
||||
<!-- } 추천상품 끝 -->
|
||||
<?php } ?>
|
||||
|
||||
<?php include_once(G5_SHOP_SKIN_PATH.'/boxevent.skin.php'); // 이벤트 ?>
|
||||
|
||||
<?php if($default['de_type3_list_use']) { ?>
|
||||
<!-- 최신상품 시작 { -->
|
||||
<section class="sct_wrap">
|
||||
<header>
|
||||
<h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=3">최신상품</a></h2>
|
||||
<h2><a href="<?php echo shop_type_url('3'); ?>">최신상품</a></h2>
|
||||
</header>
|
||||
<?php
|
||||
$list = new item_list();
|
||||
@ -80,17 +69,43 @@ include_once(G5_THEME_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
$list->set_view('star', true);
|
||||
echo $list->run();
|
||||
?>
|
||||
</section>
|
||||
<!-- } 최신상품 끝 -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if($default['de_type2_list_use']) { ?>
|
||||
<!-- 추천상품 시작 { -->
|
||||
<section class="sct_wrap">
|
||||
<header>
|
||||
<h2><a href="<?php echo shop_type_url('2'); ?>">추천상품</a></h2>
|
||||
</header>
|
||||
<?php
|
||||
$list = new item_list();
|
||||
$list->set_type(2);
|
||||
$list->set_view('it_id', false);
|
||||
$list->set_view('it_name', true);
|
||||
$list->set_view('it_basic', true);
|
||||
$list->set_view('it_cust_price', true);
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
$list->set_view('star', true);
|
||||
echo $list->run();
|
||||
?>
|
||||
</section>
|
||||
<!-- } 추천상품 끝 -->
|
||||
<?php } ?>
|
||||
|
||||
<?php include_once(G5_SHOP_SKIN_PATH.'/boxevent.skin.php'); // 이벤트 ?>
|
||||
|
||||
<?php if($default['de_type5_list_use']) { ?>
|
||||
<!-- 할인상품 시작 { -->
|
||||
<section class="sct_wrap">
|
||||
<header>
|
||||
<h2><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=5">할인상품</a></h2>
|
||||
<h2><a href="<?php echo shop_type_url('5'); ?>">할인상품</a></h2>
|
||||
</header>
|
||||
<?php
|
||||
$list = new item_list();
|
||||
@ -102,14 +117,13 @@ include_once(G5_THEME_SHOP_PATH.'/shop.head.php');
|
||||
$list->set_view('it_price', true);
|
||||
$list->set_view('it_icon', true);
|
||||
$list->set_view('sns', true);
|
||||
$list->set_view('star', true);
|
||||
echo $list->run();
|
||||
?>
|
||||
</section>
|
||||
<!-- } 할인상품 끝 -->
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
include_once(G5_THEME_SHOP_PATH.'/shop.tail.php');
|
||||
?>
|
||||
Reference in New Issue
Block a user