사용버젼 : 영카트5_이윰빌더5.4_이윰빌더스킨 입니다.
도움주신 내용대로 해도 않되서 각각 index.php에서 변경시도를 했지만 히트상품 문구 변경이 되지 않습니다(아..강력하다;;) 진행해본 과정은 아래와 같습니다.
1. /www/shop/index.php 여기에서 해봄=>변경않됨
<?php if($default['de_type1_list_use']) { ?>
<!-- 히트상품 시작 { -->
<section id="idx_hit" class="sct_wrap">
<header>
<h2><a href="<?php echo shop_type_url('1'); ?>">히트상품</a></h2>
</header>
<?php
$list = new item_list();
$list->set_type(1);
$list->set_view('it_img', true);
$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>
<!-- } 히트상품 끝 -->
<script>
//히트상품
$(function(){
var hit_smt_val = parseInt($('#idx_hit .smt_40').attr("data-value"));
if(! hit_smt_val){
hit_smt_val = 5;
}
$('#idx_hit .smt_40').owlCarousel({
loop:true,
nav:true,
autoplay:true,
autoplayHoverPause:true,
responsive:{
1000:{items:5}
}
})
});
</script>
<?php } ?>
2. /www/theme/basic/shop/index.php 여기에서 해봄=>변경않됨
<!-- 히트상품 시작 { -->
<section id="idx_hit" class="sct_wrap">
<header>
<h2><a href="<?php echo shop_type_url('1'); ?>">히트상품</a></h2>
</header>
<?php
$list = new item_list();
$list->set_type(1);
$list->set_view('it_img', true);
$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>
<!-- } 히트상품 끝 -->
<script>
//히트상품
$(function(){
var hit_smt_val = parseInt($('#idx_hit .smt_40').attr("data-value"));
if(! hit_smt_val){
hit_smt_val = 5;
}
$('#idx_hit .smt_40').owlCarousel({
loop:true,
nav:true,
autoplay:true,
autoplayHoverPause:true,
responsive:{
1000:{items: hit_smt_val}
}
})
});
</script>
<?php } ?>
3. /www/theme/eb4_basic/shop/index.php 여기에서 해봄=>변경않됨
<?php /* ---------- 히트상품 시작 ---------- */ ?>
<?php if ($is_admin == 'super' && !G5_IS_MOBILE) { ?>
<div class="adm-edit-btn btn-edit-mode hidden-xs hidden-sm" style="margin-top:-20px;">
<div class="btn-group">
<a href="<?php echo G5_ADMIN_URL; ?>/?dir=shop&pid=configform&amode=ittype&thema=<?php echo $theme; ?>&wmode=1" onclick="eb_admset_modal(this.href); return false;" class="btn-e btn-e-xs btn-e-red btn-e-split"><i class="far fa-edit"></i> 유형별 상품진열 설정</a>
<a href="<?php echo G5_ADMIN_URL; ?>/?dir=shop&pid=configform&thema=<?php echo $theme; ?>#anc_scf_index" target="_blank" class="btn-e btn-e-xs btn-e-red btn-e-split-red dropdown-toggle" title="새창 열기">
<i class="far fa-window-maximize"></i>
</a>
</div>
</div>
<?php } ?>
<?php if($default['de_type1_list_use']) { ?>
<section class="margin-bottom-40">
<div class="main-heading">
<h2><a href="<?php echo shop_type_url(1); ?>"><strong>히트상품</strong></a></h2>
</div>
<?php
$list = new item_list($skin_dir.'/'.$default['de_type1_list_skin']);
$list->set_type(1);
$list->set_view('it_img', true);
$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 /* ---------- 히트상품 끝 ---------- */ ?>